Jump to content

Cron


SieRobin

Recommended Posts

  • 2 years later...
Log on your server as the user you want to run the cronjob. The cronjob will run at intervals depending on how you set it up. See below.

at the command line use:
crontab -e

There edit your crontab using the following sintax:
A crontab file has five fields for specifying day , date and time  followed by the command to be run at that interval.
*    *  *  *    *  command to be executed and arguments
-    -    -    -    -
|    |    |    |    |
|    |    |    |    +----- day of week (0 - 6) (Sunday=0)
|    |    |    +------- month (1 - 12)
|    |    +--------- day of month (1 - 31)
|    +----------- hour (0 - 23)
+------------- min (0 - 59)
Link to comment
https://forums.phpfreaks.com/topic/4009-cron/#findComment-661938
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.