Jump to content

syntax for cron?


dezkit

Recommended Posts

0 23 * * * /path/file/autodelete.php >/dev/null 2>&1

depending on the host you might have to provide where php lives

0 23 * * * php /path/file/autodelete.php >/dev/null 2>&1

0 23 * * * user/bin/php /path/file/autodelete.php >/dev/null 2>&1

0 23 * * * user/bin/php4 /path/file/autodelete.php >/dev/null 2>&1

0 23 * * * user/bin/php5 /path/file/autodelete.php >/dev/null 2>&1

 

its even possible you may need to change the path to a url, but one of the above variations should work. Why not ask your hoster for an example or use their forum?

 

 

HTH

Teamatomic

 

Link to comment
https://forums.phpfreaks.com/topic/190060-syntax-for-cron/#findComment-1002735
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.