[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Add "nice -10" to /etc/crontab run-parts commands?

On 31-May-99 Tommi Virtanen wrote:
> On Sun, May 30, 1999 at 10:25:29PM -0400, Shaleh wrote:
>> I wrote a program that works like test for apm.  It was given to the apm
>> maint
>> and should appear soon.  My {ana}crontab looks like this:
>> onbatt || run_heavy_job
>> or
>> onacpow && run_heavy_job
>         The later will crash & burn if any script uses set -e 
>         (which is usually encouraged).
>         if onacpow; then run_heavy_job; fi

No, my crontab line itself uses that, so it is safe.  In a script, it is
different as you state.

Reply to: