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/apache2/my.log 5 5 1 * * * webalizer
Every day I get an e-mail telling me this failed. Now, I can go in and to this manually, mergelog my.log access.log other_vhosts_access.log > MY.log # to merge the existing merged log with the new logs the mv MY.log my.log to move the newly merged log to my.log (which webalizer is configured to read) run webalizer profit. Why can't cron do it without my intervention? ./tony -- http://www.tonybaldwin.me all tony, all the time! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120208062744.ga8...@deathstar.hsd1.ct.comcast.net