Multiple cron-jobs issue


#1

Hi,

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?

Regards


#2

Yes, currently only one cron job is supported.


#3

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.


#4

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 /usr/lib/vmware/busybox/bin/busybox crond.

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.


#5

Is it still the case that only a single cronjob can be set by the commandline?


#6

Yes, it can still schedule one cronjob in the latest version. My plan is to integrate Vertical Backup into the web GUI of Duplicacy so that this cron command will be deprecated.