Re: Cron ?
- From: ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
- Date: Thu, 23 Aug 2007 15:08:11 -0500
On Wed, 22 Aug 2007, in the Usenet newsgroup linux.redhat, in article
<pan.2007.08.22.18.09.59.34740@xxxxxxxxxxxxxx>, Terry A Haimann wrote:
Is there something different about running a job in cron then there is
from a command prompt.
Uh, yeah - environment is very different, PATH is _probably_ different,
and then there's the bit about stdin/stdout/stderr...
I have a FreePascal created program that crashes when I run it from
cron, but works normally when submitted from bash. This program is
starting several other programs (If that makes any difference.)
Try creating a simple cron-job that consists of one line
set > /tmp/cron.environment
and then compare that file with the output of the 'set' command in a
shell.
[compton ~]$ wc /tmp/cron.environment
20 19 236 /tmp/cron.environment
[compton ~]$ set | wc
41 48 1422
[compton ~]$
Old guy
.
- References:
- Cron ?
- From: Terry A Haimann
- Cron ?
- Prev by Date: cups config problem
- Next by Date: Re: How boot FC 5 to plain TTY terminal mode?
- Previous by thread: Re: Cron ?
- Next by thread: Kernel Recompile Error
- Index(es):
Relevant Pages
|