Unix: crontab every 15 minutes 

Joined:
04/09/2007
Posts:
753

February 17, 2011 14:06:22    Last update: February 17, 2011 14:06:22
This is the crontab to run a cron job every 15 minutes:
*/15 * * * * /path/to/executable >/redirect/output/path/run.log 2>&1

or,
0,15,30,45 * * * * /path/to/executable >/redirect/output/path/run.log 2>&1

In general, the format is:
minute hour day_of_month month day_of_week command

Valid values are:
FieldValue
minute0-59
hour0-23
day of month1-31
month1-12
day of week0-6 (Sunday = 0)


Reference: crontab(5) - Linux man page
Share |
| Comment  | Tags