[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Crontab, Scripting and Syslog (solved)



On Mon, 2 Jul 2012 15:47:35 +0200
Titanus Eramius <titanus@aptget.dk> wrote:

> 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
> 
> 

It works perfect. Thanks for the help :)

Cheers


Reply to: