This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.5.19: tar runs normally from command line but terminates early when run from crontab
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com, ged at jubileegroup dot co dot uk
- Date: Mon, 19 Jun 2006 09:41:55 -0600
- Subject: Re: 1.5.19: tar runs normally from command line but terminates early when run from crontab
- References: <Pine.LNX.4.58.0606181700030.4446@mail3.jubileegroup.co.uk>
-----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@byu.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/