Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 21:23:48 -0700
From:      "Atom Powers" <atom.powers@gmail.com>
To:        "Olivier Nicole" <on@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how does cron exec jobs?
Message-ID:  <df9ac37c0606072123k2c1ef772u760f088e32cac1b9@mail.gmail.com>
In-Reply-To: <200606080321.k583Lto6083694@banyan.cs.ait.ac.th>
References:  <df9ac37c0606071548vea943fas284171d21da3fbd0@mail.gmail.com> <200606080321.k583Lto6083694@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/7/06, Olivier Nicole <on@cs.ait.ac.th> 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 out. The cron man pages are ... empty
on the subject.

> Any diagnostic when it hangs?

Not that I can tell. It runs on schedule but it never clears it's
locks (which it puts on files at is edits them) as it is supposed to;
and it does when run from the shell.

So it truth, it's not so much that it "hangs", it does terminate, but
it doesn't honor it's lock time-outs like it does when run outside of
cron.

-- 
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?df9ac37c0606072123k2c1ef772u760f088e32cac1b9>