Jump to content

[SOLVED] Scheduled tasks?


JustinM01

Recommended Posts

OK, first off, I'm not sure whether this belongs as a PHP topic, MySQL topic, or a Linux topic...but here goes...

 

Say I have user data stored in a MySQL database that needs to be deleted after so many days. Is there a way to do it in PHP? If not how would I go about doing it?

 

If there is a way in PHP, would it be better to check it for deletion when the user logs in ( I know I could do this btw ), or just delete everything that needs to be deleted during a period where the website/database is under a low load?

 

Thanks for any help.

Link to comment
https://forums.phpfreaks.com/topic/88011-solved-scheduled-tasks/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.