Re: cron job mergelog failure

2012-02-09 Thread Tony Baldwin
On Wed, Feb 08, 2012 at 01:59:27PM -0500, Tony Baldwin wrote: > On Wed, Feb 08, 2012 at 08:35:44AM -0800, Noah Meyerhans wrote: > > On Wed, Feb 08, 2012 at 10:57:54AM -0500, Tony Baldwin wrote: > > > > > 0 1 * * * mergelog /var/log/apache2/access.log [...] > > > > > Every day I get an e-mail tellin

Re: cron job mergelog failure

2012-02-08 Thread Tony Baldwin
On Wed, Feb 08, 2012 at 08:35:44AM -0800, Noah Meyerhans wrote: > On Wed, Feb 08, 2012 at 10:57:54AM -0500, Tony Baldwin wrote: > > > > 0 1 * * * mergelog /var/log/apache2/access.log [...] > > > > Every day I get an e-mail telling me this failed. > > > > > > > Now, I can go in and to this manually

Re: cron job mergelog failure

2012-02-08 Thread Noah Meyerhans
On Wed, Feb 08, 2012 at 10:57:54AM -0500, Tony Baldwin wrote: > > > 0 1 * * * mergelog /var/log/apache2/access.log [...] > > > Every day I get an e-mail telling me this failed. > > > > > Now, I can go in and to this manually, > > > Why can't cron do it without my intervention? > > > > > > What

Re: cron job mergelog failure

2012-02-08 Thread Tony Baldwin
On Wed, Feb 08, 2012 at 09:18:32AM +, Chris Davies wrote: > Tony Baldwin wrote: > > 0 1 * * * mergelog /var/log/apache2/access.log [...] > > Every day I get an e-mail telling me this failed. > > > Now, I can go in and to this manually, > > Why can't cron do it without my intervention? > >

Re: cron job mergelog failure

2012-02-08 Thread Chris Davies
Tony Baldwin wrote: > 0 1 * * * mergelog /var/log/apache2/access.log [...] > Every day I get an e-mail telling me this failed. > Now, I can go in and to this manually, > Why can't cron do it without my intervention? What reason does the email give for the failure? Chris -- To UNSUBSCRIBE, e

Re: cron job mergelog failure

2012-02-08 Thread Arif Hossain
On Wed, 2012-02-08 at 01:27 -0500, Tony Baldwin wrote: > I have the following in my root crontab on my webserver: > > 0 1 * * * mergelog /var/log/apache2/access.log > /var/log/apache2/other_vhosts_access.log /var/log/apache2/my.log > > MY.log > 4 2 1 * * * mv /var/log/apache2/MY.log /var/log/apa