Thread: php question
View Single Post
Old 07-18-2004, 06:30 AM  
UltraSonic
Confirmed User
 
Join Date: Jul 2004
Location: UltraVirtuality
Posts: 1,728
Maybe this helps:

Example Crontab:

# r----minute
# | r-----hour
# | | r------day of the month
# | | | r------month
# | | | | r------day of the week
# | | | | | |------ command to run ------------->
# | | | | | |
5 0 * * * $HOME/bin/daily.job >> $HOME/tmp/out 2>&1
# run five minutes after midnight, every day
15 14 1 * * $HOME/bin/monthly

# run at 2:15pm on the first of every month -- output mailed to paul
0 22 * * 1-5 mail -s "It's 10pm" joe%Joe,%%Where are your kids?%

# print out the message at 4:05 every sunday.
5 4 * * sun echo "run at 5 after 4 every sunday"





If this file were saved as "paul.ct" then


crontab -u paul paul.ct

would be used to store the crontab for the user paul.

For more information:
man cron
man crontab
man 5 crontab


If it doesn't help..... back to yahoo and howtos
__________________
Your Blend, Your Product

UltraSonic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote