Create script to block a user's crontab
According to https://superuser.com/questions/380145/disable-cron-jobs-for-a-specific-user, we can rename an user's crontab file to disable it.
We need to verify where the crontabs file located on login004 and login005. Because I found /var/spool/cron/louistw
on CoD head node but in the post it show /var/spool/cron/crontabs/user2
.
Update:
On login005, we verified path is /var/spool/cron/louistw
for user louistw
.
Edited by Bo-Chun Chen