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

Re: NIce cron or anacron jobs

David Baron wrote:
How does one assure that such jobs be run with -nice ##. Simply placing this on the command line as "jobbin -nice ## " ... does not seem to work.

Try this as an example cron entry (assume every midnight):

0 0 * * *  nice cleanup_script.sh

Not all jobs know the arguement '-nice' (setiathome is the only one I've seen with this). Otherwise you'll have to prefix with nice

Reply to: