How to Write Schedule for Crontab - Php Cron Job Setup

by Dinesh 2014-03-20 11:03:26

How to Write Schedule for Crontab - Php Cron Job Setup

The basic format of a crontab schedule consists of 6 fields, separated by spaces, formatted as follows:
minute hour day month day-of-week command-line-to-execute

The acceptable values for each of the 6 fields are:






FieldRange of values
minute0-59
hour0-23
day1-31
month1-12
day-of-week0-7 (where both 0 and 7 mean Sun, 1 = Mon, 2 = Tue, etc)
command-line-to-executethe command to run along with the parameters to that command if any

Tagged in:

562
like
0
dislike
0
mail
flag

You must LOGIN to add comments