Thanks for the suggestion. It didn't work. Not sure what to make of this...
----- Original Message -----
From: "Royce Williams" <royce@alaska.net>
To: "Damien Hull" <damien@linuxninjas.tv>
Cc: aklug@aklug.org
Sent: Friday, March 13, 2009 7:58:01 AM GMT -09:00 Alaska
Subject: Re: [aklug] shell script and cron trouble
Damien Hull wrote, on 3/13/2009 7:37 AM:
> The following shell script runs fine if I run it manually. If I setup a cron job it ends before tar finishes. Well, that's a guess but the resulting backup is too small. It's also a bad tar file. I hope someone can tell me why it isn't working.
>
> SERVER - Ubuntu running the zimbra email system.
>
> SCRIPT - IF YOU CAN CALL IT THAT
>
> #! /bin/sh
Call it in verbose mode and reschedule the cron to trigger now + 5 minutes.
#! /bin/sh -x
Also make sure that all commands have explicit paths.
Royce
-- Damien Hull Linux Ninja Open Source Assassin http://linuxninjas.tv http://elite.linuxninjas.tv http://www.digital-overload.net --------- To unsubscribe, send email to <aklug-request@aklug.org> with 'unsubscribe' in the message body.Received on Fri Mar 13 08:49:06 2009
This archive was generated by hypermail 2.1.8 : Fri Mar 13 2009 - 08:49:06 AKDT