cron job limits

Chuck Swiger cswiger at mac.com
Tue Jun 13 15:39:18 UTC 2006


Jim Pazarena wrote:
> I have a fairly lengthy routine which runs each
> Sunday morning in a cronjob. For many months
> now it has never completed, and I have to manually
> run it from the CLI. (which runs fine). The cronjob
> runs as root.
> 
> It isn't failing because of a PATH problem,
> (it's just /usr/local/bin/analog running in dozens
> of repetitions)
> 
> /usr/bin/limits shows most limits as infinity
> 
> I don't get any email error message .. nothing! it just quits!
> 
> any ideas?

Add echo statements to the job, or change it to being a shell script that cron 
calls, which then runs all of your analog processes there.  Make sure that 
MAILTO is set.  If necessary, add a cronjob for /bin/false to check.  :-)

-- 
-Chuck


More information about the freebsd-questions mailing list