Re: Add "nice -10" to /etc/crontab run-parts commands?
[much talk of whether or not Debian should make decisions for the local
admin, home use versus work use. etc. deleted]
Would it be more feasible to do one of the following:
1) Annotate the config files that come with a particular package, showing
different fairly common setups that don't fit the middle ground that is
currently aimed at?
Something like:
/etc/anacrontab:
# Laptop users may want to defer execution of particular battery-draining
# jobs until AC power is available. To have command 'foo' run from anacron
# only when you're on AC power, use a line like:
#
# onacpow && foo
/var/spool/cron/crontabs/root:
# Users who frequently are working when daily or weekly maintenance cron
# jobs start may want to use the 'nice' command to lower the priority of
# certain jobs to improve interactive performance of their systems. Use a
# line like:
#
# 0 0 * * * nice -10 foo
#
# will drastically lower the priority of 'foo' when it runs each night.
2) Fix up a tips or tricks doc package that details these sorts of things.
--
Mike Renfro / Instructor, Basic Engineering Program
931 372-3601 / renfro@tntech.edu
Reply to: