Just want to launch a daily backup script *.sh using crond (or other method).
Will it work if the AppVM (debian template) is running with crond service enabled by:
qvm-service -e crond [or enabled through the GUI]
There is no simple and clear examples for such a simple task.
crontab -l is:
m h dom mon dow command
0 1 * * * /home/user/000run_daily/duplicity_backup.sh > /dev/null 2>&1
0 2 * * * /home/user/000run_daily/mirror_lftp.sh > /dev/null 2>&1
It does not work for me
What extra steps is needed to configure crond in QubesOS?
In the file in the App VM at: /rw/config/rc.local
I should add 2 lines:
systemctl enable cron.service
systemctl start cron.service
then restart the AppVM
What is copy crontab in the right place?
currently the jobs seem to be at:
/var/spool/cron/crontabs/user
and
/rw/bind-dirs/var/spool/cron/crontabs/user
where should I copy this file to?
No need to copy, crontab -e put stuff in the right places
It is working now
Thanks for the help