Re: how does cron exec jobs?

2006-06-08 Thread Dan Nelson
In the last episode (Jun 07), Atom Powers said: > On 6/7/06, Olivier Nicole <[EMAIL PROTECTED]> wrote: > >> How can I simulate a cron job from the shell? There must be > >> something different about the way cron is executing this > >> command... > > > >Counld be different environment variables set,

Re: how does cron exec jobs?

2006-06-08 Thread N.J. Thomas
* Atom Powers <[EMAIL PROTECTED]> [2006-06-07 15:48:35 -0700]: > I have a cronjob ( cfexecd -F ) that often hangs; but no matter how I > run it from the shell ( sh -c "cfexecd -F" & ) it never hangs. > > How can I simulate a cron job from the shell? Whenever you have a problem like this (ie. "foo

Re: how does cron exec jobs?

2006-06-08 Thread Olivier Nicole
> > Counld be different environment variables set, different working > > directory... > > That's what I'm trying to find out. The cron man pages are ... empty > on the subject. Remove every and any environment variable and try to run from / or from /root or from /tmp OK that's trial and error ap

Re: how does cron exec jobs?

2006-06-08 Thread Atom Powers
On 6/7/06, Olivier Nicole <[EMAIL PROTECTED]> wrote: > How can I simulate a cron job from the shell? There must be something > different about the way cron is executing this command... Counld be different environment variables set, different working directory... That's what I'm trying to find

Re: how does cron exec jobs?

2006-06-08 Thread Olivier Nicole
> How can I simulate a cron job from the shell? There must be something > different about the way cron is executing this command... Counld be different environment variables set, different working directory... Any diagnostic when it hangs? Olivier ___

how does cron exec jobs?

2006-06-07 Thread Atom Powers
I have a cronjob ( cfexecd -F ) that often hangs; but no matter how I run it from the shell ( sh -c "cfexecd -F" & ) it never hangs. (Running it from the shell is how I clear the hung state.) How can I simulate a cron job from the shell? There must be something different about the way cron is exe