unifios-utilities/on-boot-script/examples/udm-files/on_boot.d/25-add-cron-jobs

9 lines
206 B
Plaintext
Raw Normal View History

#!/bin/sh
# store crontab files in /mnt/data/cronjobs/ (you will need to create this foler)
# this script will re-add them on startup
cp /mnt/data/cronjobs/* /etc/cron.d/
/etc/init.d/crond restart
exit 0