Re: cron job mergelog failure
On Wed, Feb 08, 2012 at 09:18:32AM +0000, Chris Davies wrote:
> Tony Baldwin <firstname.lastname@example.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?
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!