delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/19/11:42:13

X-Spam-Check-By: sourceware.org
Message-ID: <4496C5C3.6070304@byu.net>
Date: Mon, 19 Jun 2006 09:41:55 -0600
From: Eric Blake <ebb9 AT byu DOT net>
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: <Pine DOT LNX DOT 4 DOT 58 DOT 0606181700030 DOT 4446 AT mail3 DOT jubileegroup DOT co DOT uk>
In-Reply-To: <Pine.LNX.4.58.0606181700030.4446@mail3.jubileegroup.co.uk>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019