X-Spam-Check-By: sourceware.org Message-ID: <4496C5C3.6070304@byu.net> Date: Mon, 19 Jun 2006 09:41:55 -0600 From: Eric Blake User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: cygwin AT cygwin DOT com, ged AT jubileegroup DOT co DOT uk Subject: Re: 1.5.19: tar runs normally from command line but terminates early when run from crontab References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to G.W. Haywood on 6/19/2006 3:53 AM: > When run from the command line the job works whether gzip compression > is used or not, and when run from the crontab it fails also whether > compression is used or not, so I don't think it's anything to do with > pipes and DOS/Unix line endings. > > It looks like I'm missing something here. What is it? It's probably a bug in your cron setup, rather than a bug in tar. Have you run cron-diagnose? Can you get simpler cron tasks to work? Remember that cron is run as a different user than the normal command line, so permissions do play a role on what the cron script can do. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFElsXC84KuGfSFAYARAqE/AKCqEWDsiQGQQlbX18asSIdDhO/YwQCePzYK xhVJCwOuJoZfpRQB8A9VHYE= =9FTz -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/