Nothing is more worth than a good example to describe how My Webcron works:
I want to execute once a day a script to backup my database
#url: http://www.yoursitename.com/database_backup.php
# time: 6 for 6:00am
# Let the other fields blank or put a *
I want to compute my statistics the first day of each month, at 2:00am
# url : http://www.yoursitename.com/statistics.php
# day of the month: 1 for the first day of the month
# time: 2 for 2:00am
# Let the other fields blank or put a star *
I want to update my RSS files once an hour
# url: http://www.yoursitename.com/rss.php
# time: * for any hour
# Let the other fields blank or put a *
I want to send a Happy New Year mail at midnight on January 1st
# url: http://www.yoursitename.com/mail.php
# time: 0 for midnight
# month: 1 for January
# day of the month: 1 for the first
# year : * for any year
I want to send an email only on Friday 13th, at midnight
# url: http://www.yoursitename.com/mail_v13.php
# time: 0 for midnight
# day of the month: 13
# day of the week: 5 for Friday
# Let the other fields blank or put a *
|