Is it possible to stop all cronjobs for a particular cpanel user? The cronjobs should be resumable when required later.
There are several hundred cronjobs running under this user. Only this user's cronjobs should be paused/suspended.
Is it possible to stop all cronjobs for a particular cpanel user? The cronjobs should be resumable when required later.
There are several hundred cronjobs running under this user. Only this user's cronjobs should be paused/suspended.
I think there is a cleaner way :
According to centos documentation , you can use /etc/cron.allow and /etc/cron.deny to achieve this.
However, these file are os dependent (I assume you are using centos/redhat from the tags of your question).
Though, in newer versions this has stopped working.
/etc/init.d/crond stopis not suitable as that will stop the cronjobs of all users, I just need to stop cronjobs of a user. – Nyxynyx Sep 16 '12 at 21:48