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,
* 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
> > 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
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
> 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
___
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