From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.wa.amnet.net.au (smtp1.wa.amnet.net.au [203.161.124.50]) by speech.braille.uwo.ca (Postfix) with ESMTP id 95D5710AD5 for ; Fri, 7 Nov 2008 20:09:59 -0500 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.wa.amnet.net.au (Postfix) with ESMTP id F3F617D891 for ; Sat, 8 Nov 2008 10:11:32 +0900 (WST) X-Virus-Scanned: amavisd-new at smtp1.wa.amnet.net.au Received: from smtp1.wa.amnet.net.au ([127.0.0.1]) by localhost (smtp1.wa.amnet.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oxpSEbCoJu9E for ; Sat, 8 Nov 2008 10:11:32 +0900 (WST) Received: from gotss1.gotss.net (203.161.101.89.static.amnet.net.au [203.161.101.89]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.wa.amnet.net.au (Postfix) with ESMTP id F01017D82C for ; Sat, 8 Nov 2008 10:11:31 +0900 (WST) Received: from bouncy.gotss.net ([192.168.24.37] helo=bouncy) by gotss1.gotss.net with smtp (Exim 4.69) (envelope-from ) id 1KycMN-0005sO-44 for speakup@braille.uwo.ca; Sat, 08 Nov 2008 10:11:31 +0900 Message-ID: <97D2198646D94C718C59C8E0A60D8C58@bouncy> From: "Kerry Hoath" To: "Speakup is a screen review system for Linux." References: <997FD392DD914C4985EC173F49BFC29E@tdsportable> <879ED343CB4F40F886B951480AB68CEF@tdsportable> Subject: Re: backup apparently not working Date: Sat, 8 Nov 2008 10:11:32 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.11 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2008 01:10:00 -0000 Exactly what I said. Just because you execute a script from crontab does not mean it has all environment variables set inside the script. Your script is relying on the fact that the HOME environment variable is set, which i'm sure it is when you run the script from the command-line, however it might not be the case when the script is run from cron. What user is running the crontab and what value do you expect HOME to be? Also is the script running under /bin/bash and is the backquote expantion actually working? Modify your crontab so it echos your command into a temporary file so the command that is executed is what you think it is. Regards, Kerry. ----- Original Message ----- From: "Tyler Littlefield" To: "Speakup is a screen review system for Linux." Sent: Saturday, November 08, 2008 8:33 AM Subject: Re: backup apparently not working > what do you mean is it set in the crontab? I just execute that script from > crontab. it's the script that's not working. > > > Thanks, > Tyler Littlefield > email: tyler@tysdomain.com > web: tysdomain-com > Visit for quality software and web design. > skype: st8amnd2005 > > ----- Original Message ----- > From: "Kerry Hoath" > To: "Speakup is a screen review system for Linux." > > Sent: Friday, November 07, 2008 4:32 PM > Subject: Re: backup apparently not working > > >> Is HOME set correctly in the crontab? >> >> Regards, Kerry. >> >> ----- Original Message ----- >> From: "Tyler Littlefield" >> To: "Speakup is a screen review system for Linux." >> >> Sent: Saturday, November 08, 2008 7:52 AM >> Subject: backup apparently not working >> >> >>> Hello, >>> First. I've partially figured out the problem. >>> It's throwing a fit about removing leading slash. >>> second, I've got the following line in a script: >>> tar -czvf ~/backups/valiant/`date '+%m-%d-%Y_%H'`.tar.gz >>> ~/valiant/moo/db.db >>> when I ran that from the command line, it worked. when I tried to run it >>> from a script, it "cowardly refused to create an empty archive," and >>> then decided to try to run every file in my directory, it looks like. >>> Ideas? >>> >>> Thanks, >>> Tyler Littlefield >>> email: tyler@tysdomain.com >>> web: tysdomain-com >>> Visit for quality software and web design. >>> skype: st8amnd2005 >>> >>> _______________________________________________ >>> Speakup mailing list >>> Speakup@braille.uwo.ca >>> http://speech.braille.uwo.ca/mailman/listinfo/speakup >>> >> >> _______________________________________________ >> Speakup mailing list >> Speakup@braille.uwo.ca >> http://speech.braille.uwo.ca/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >