1.5.19: tar runs normally from command line but terminates early when run from crontab
Eric Blake
ebb9@byu.net
Mon Jun 19 15:42:00 GMT 2006
-----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/
More information about the Cygwin
mailing list