Suspense Sep 28 5:57AM 2017
I attempted to add multiple cronjobs via vertical by running multiple cronjob commands.
I noticed that each command overwrites the previous created cronjob, instead of adding to the cronjob file.
Is this intended?
gchen Sep 28 10:14AM 2017
Yes, currently only one cron job is supported.
Suspense Sep 29 1:29AM 2017
This is a little problematic :S.
I tried adding the cronjobs manually, but it didnt run this morning, would adding them manually work? Perhaps i made a mistake somewhere.
gchen Sep 29 8:57PM 2017
After you modify
/var/spool/cron/crontabs/root, you'll need to kill the running cron process by killing the pid stored in
/var/spool/cron/crontabs/root, and then restart it by running
To make it persist after reboots you'll need to modify
/etc/rc.local.d/local.sh too. You can run the cron command to set up a cron job and then take a look at that file to see how it is done.