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

Re: cron job mergelog failure

On Wed, Feb 08, 2012 at 09:18:32AM +0000, Chris Davies wrote:
> Tony Baldwin <tony@tonybaldwin.org> 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

mv: cannot stat `/var/log/apache2/MY.log': No such file or directory
Clearly not merging logs and creating the MY.log file.
I will try with the fully path and see happens tonight.

all tony, all the time!

Reply to: