differances between at and crontab

john.urban urban at cbnewsl.att.com
Fri May 31 03:12:49 AEST 1991


In article <85 at talgras.UUCP> david at talgras.UUCP (David Hoopes) writes:
>Help!
>
>    Does anyone have any idea why a program that works fine when executed
>via a crontab entry would always go off to la la land when it is executed 
>via an at command?  My program seems to be running (maybe in some kind of
>a loop) but it is not doing anything.
>
>    I have seen this on SCO Xenix 2.3.2 and SCO Unix.  It is really hard
>to debug a problem that only appears when the program is run from an at
>command.  Any sudgestions or ideas would be a great help.
>

at(1)/batch(1) commands inherit the users environment when they are set up,
where as cron jobs don't.

Thus if you're at shell script does an env and your cron job does an env you'll
see very different output.  Purhaps your application is breaking due to:
	PATH, ulimit, or Current Working directory?

Sincerely,

John Ben Urban



More information about the Comp.unix.programmer mailing list