Skip to content

sigtar.com

Daz's bits and bobs …bytes bits

Menu

Primary menu

  • Home
  • about

Tag Archives: renice

cron job to re prioitize tasks

Posted on October 16, 2012 by Daz — No Comments ↓

I’m using the following crontab script to renice my squid process….

Put following in script and  call via cron (i’m doing every 10 mins)

*/10 * * * * /home/user/renice.sh

(renice.sh)

renice -15 $(ps -C squid3 -o pid=)
renice -15 $(ps -C unlinkd -o pid=)

Posted in Linux | Tagged crontab, Linux, nice, prioity, renice, run, squid, task, ubuntu | Leave a reply

Primary Sidebar Widget Area

Copyright © 2022 sigtar.com. All Rights Reserved.
Theme: Catch Box by Catch Themes