While we all know how to add tasks using crontab -e
or check current tasks using crontab -l
, doing things this way can sometimes be a bit inconvenient (eg. if you’re mid-script). Adding via CLI can be done in the CentOS implementation like this …
… BUT … if you try it on debian (which is my personal preferred distro), you get a “permission denied” error.
Fortunately, it CAN be done on debian like so…