sankarv
Group: Members
Posts: 190
Joined: Mar. 2006 |
|
Posted: Aug. 02 2006,07:13 |
|
Hi Thulemanden, Please check the cron format u mentioned (0 1 * * * ) u said u need to run every hour.
But this format runs every day at 1'O clock.
here first parameter is minute, second is hour, third is date of month ,fourth is month, fifth is day of week.
minute (0-59) hour (00-23) date(1-30 or 31) (for february 28/29)) month (1-12) day of week (0-7)
0 and 7 - sunday 1- monday 2-tuesday 3-wednesday 4-thursday 5-friday 6-saturday
If you mention * in any of the respective fields it runs all time. the crontab file is checked each minute by cron daemon.
if u want to run every hour (XX * * * *) where XX-minute (0-59)
hope im right
u can edit the crontab file by
crontab -e command
-r is for remove -l is for listing the entries
you add an entry to crontab file as
00 * * * * /path/webalizer
00 * * * * nohup /path/webalizer (this will run even if you are not logged in)
-------------- Think before you do anything...
|