Priority for cron jobs

Matt Zimmerman mdz at
Thu Sep 23 01:18:20 UTC 2004

On Thu, Sep 23, 2004 at 12:27:42PM +1200, Jim Cheetham wrote:

> On Wed, 2004-09-22 at 21:22 -0300, Fábio Mendes wrote:
> > I'm sorry, I didn't saw it. I'm not really into cron job details, but
> > from what I saw in the scripts, no job is firing it's commands with a
> > low priority. I don't know if there is a cron configuration that handle
> > that or if you have to code in each script. It makes sense for me that
> > they run with a 15 or so priority, so users will barely notice when
> > they're running (it looks as if the system is broken if it slows down
> > suddenlly, specially when there is no user visible note about it).
> You can prefix the commands you want to run slowly with "nice" to drop
> their priority - I would say "see the man page" but for reasons that
> don't convince me, GNU stuff ships with info pages instead. "info nice"
> for more details.

In case anyone is wondering, the idea of doing this by default has come up
in Debian many times, always with the same result (causes more problems than
it's worth).  But if it works for you and your needs, great.

 - mdz

More information about the ubuntu-users mailing list