Use of this command in cron job

balaji2u

New Member
Messages
410
Reaction score
2
Points
0
Im analysing a script thats used for cron job and i get a clear view about it.
but the author of the script provided a unix command to make an automatic execution of the script.i know this can be down using the standard cron job manager in cpanel.
but i want to know the individual use of the numbers(1-5-2-*-*-* as in below command) and what it represents?


15 2 * * * /usr/local/bin/php /home/youraccount/fullbackup.php
he said this command will make the script to run on
every night at 2:15 a.m
pls explain it to me .
 

balaji2u

New Member
Messages
410
Reaction score
2
Points
0
i get the job done.
anyway thanks compwhizi

# +---------------- minute (0 - 59)
# | +------------- hour (0 - 23)
# | | +---------- day of month (1 - 31)
# | | | +------- month (1 - 12)
# | | | | +---- day of week (0 - 6) (Sunday=0 or 7)
# | | | | |
* * * * * command to be executed
 
Top