Re: Crontab, Scripting and Syslog
snip
> # min hr dom mon dow command
> > * 04 * * * /home/titanus/scripts/web-log >> /dev/null 2>&1
>
> That is, every minute during hour 4, on every day of every month (that
> being every day of the week), the command is run.
>
> Presumably, webalizer writes its output to the same place each time,
> so that is why you're only seeing the output of the 4:59 run.
>
> Try changing your crontab to read:
>
> # min hr dom mon dow command
> 0 04 * * * /home/titanus/scripts/web-log >> /dev/null 2>&1
>
> This will run at 4:00 every day, and is probably what you meant.
>
Yes it is.
I'll try and set it and return tommorrow.
Cheers
Reply to: