Jump to content

Crons


gerkintrigg

Recommended Posts

Hi everyone.
I'm trying to work out Crons. I think I have done it correctly using my Plesk control panel (weird system...) but I would like to find out whether it's right.

For the heading: "Command" I've put: httpdocs/includes/cron/delete_ppl_online.php but I'm not sure if this is the right thing. I simply want to delete all records from a database once every month. Any ideas whether I'm doing it right or am I being too ambiguous?
Link to comment
https://forums.phpfreaks.com/topic/8269-crons/
Share on other sites

run a test -- make sure your notification email address is valid. If it works you should get an email describing the event. If you didn't get it right you should get an email telling you what went wrong.

If you have trouble, you might also consider giving it the full path to the file. my cron likes full paths.
Link to comment
https://forums.phpfreaks.com/topic/8269-crons/#findComment-30202
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.