There is a better way to edit crontab jobs. Just …

Friday, 19th April 2024

Comment on How to add cron jobs from command line or bash scripts / Add crontab jobs in a script by Wellwet.

There is a better way to edit crontab jobs. Just append your commands to /var/spool/cron/ file where is the user which cron jobs you are going to modify. Make sure your cron user is allowed to wrtie to that file (by default it belongs only to root).

Wellwet Also Commented

How to add cron jobs from command line or bash scripts / Add crontab jobs in a script
I meant /var/spool/cron/username file (wordpress engine suddenly does not allow to insert text in ‘less-than’ and ‘more-than’ braces)


Share this on:

Comments are closed.