Limiting resources in cron jobs

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Wed May 20 14:53:17 UTC 2009


On Wednesday 20 May 2009 16:18:28 Kirk Strauser wrote:
> On May 20, 2009, at 7:00 AM, Mel Flynn wrote:
> > Check with top what the CPU time is, it's not the same as the wall
> > clock.
>
> Give me *some* credit. :-)

Sorry, haven't you heard? Financial crisis ;)
Are you sure cron respects login.conf? I don't see it mentioned in the man 
page. Have you tried modifying the offending crontab to run using limits(1) 
program?

AFAIK, cron doesn't use login(1) or underlying infrastructure, yet it uses 
pam.
-- 
Mel


More information about the freebsd-questions mailing list