Cron Generator
Crontab Configuration Examples
To create cron job from UNIX/Linux shell type the following command:
$ crontab -e
Basic Crontab Syntax
Basic crontab syntax looks like follows:
1 2 3 4 5 command
Where,
1: Minute (0-59)
2: Hours (0-23)
3: Day (0-31)
4: Month (0-12) [12 == December]
5: Day of the week(0-7) [7 or 0 == sunday]
command: command to be executed
Example:
10 20 13 02 * /usr/local/bin/backup
10: 10th Minute
20: 8 PM
13: 13th Day
02: 2th Month (February)
*: Every day of the week
Run PHP Script each 15 minute
*/15 * * * * php -q /home/user/php/script.php
Run Script every minute
*/1 * * * * /home/user/script.sh