[NEW:2021-03-26] CLI/commandline to add a CRON within a script

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…

Leave a Reply

Your email address will not be published. Required fields are marked *

six + 16 =