Sunday, June 22, 2008

Linux Cron

To nice a cron process

*/5 * * * * /usr/bin/nice -n 19 command

To point its output to /dev/null

*/5 * * * * /usr/bin/nice -n 19 command > /dev/null 2>&1

No comments: