Cron won't run csh scripts (solved!)
Stephen Schaefer
schaefer at bgsuvax.UUCP
Tue Jul 30 01:27:00 AEST 1985
Thanks to everyone who sent help. The reason that the csh script would
not run from cron was that it was trying to run /.cshrc and failing
because of a bad/nonexistent environment variable. The solution was
thus to use an entry of the form
* * * * * /bin/csh -f /usr/local/test.csh
(The only reason I don't feel stupid is that, though I received many
insightful suggestions, I actually found the problem myself.) Again,
blessings on the community for their help.
Stephen P. Schaefer
"If you are made to wait, it is only to serve you better."
- quoted in "The Mythical Man Month" by F. P. Brooks.
More information about the Comp.unix.wizards
mailing list