Re: Crontab, Scripting and Syslog (solved)

2012-07-04 Thread Titanus Eramius
On Mon, 02 Jul 2012 15:07:46 +0100 Chris Davies wrote: > Titanus Eramius wrote: > > * 04 * * * /home/titanus/scripts/web-log >> /dev/null 2>&1 > > > The line runs every morning at 4, and AFAIK, the /dev/-part should > > redirect all but errors to null. > > No. > > 1. This runs every minute wh

Re: Crontab, Scripting and Syslog (solved)

2012-07-04 Thread Titanus Eramius
On Mon, 2 Jul 2012 15:47:35 +0200 Titanus Eramius 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 comma

Re: Crontab, Scripting and Syslog

2012-07-02 Thread Chris Davies
Titanus Eramius wrote: > * 04 * * * /home/titanus/scripts/web-log >> /dev/null 2>&1 > The line runs every morning at 4, and AFAIK, the /dev/-part should > redirect all but errors to null. No. 1. This runs every minute while the hour is 4. If you want the script to run only a 4am, you need to sp

Re: Crontab, Scripting and Syslog

2012-07-02 Thread Titanus Eramius
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

Re: Crontab, Scripting and Syslog

2012-07-02 Thread Darac Marjal
On Mon, Jul 02, 2012 at 02:51:06PM +0200, Titanus Eramius wrote: > Hi folks > On my webserver I've recently added a log-sorting and presentation > program by the name of Webalizer. To make it run, I've put this line in > the crontab (everything runs as a normal user): > > * 04 * * * /home/titanus/