Pages

Showing posts with label whm. Show all posts
Showing posts with label whm. Show all posts

Sunday, July 23, 2017

Disable Partial All Cron in WHM Cpanel Server Except Root

Disable Partial All Cron in WHM Cpanel Server Except Root




Cronjobs is somewhat a massive activity and could affect the overall server performance. And so, as administrator, we need to disable some users cronjobs to relieve the server load. There is a tricky but simple way to disable partial cronjob in WHM/Cpanel based server. Here are the very simple steps :

1. Create a directory /var/spool/cron.disabled
# mkdir /var/spool/cron.disabled
2. Move the cronjobs you want to be disabled
# mv /var/spool/cron/username /var/spool/cron.disabled
3. Restart http/apache server to take effect
# /etc/init.d/httpd restart
Read more »