diff --git a/on-boot-script/examples/udm-files/on_boot.d/25-add-cron-jobs b/on-boot-script/examples/udm-files/on_boot.d/25-add-cron-jobs new file mode 100644 index 0000000..9da3368 --- /dev/null +++ b/on-boot-script/examples/udm-files/on_boot.d/25-add-cron-jobs @@ -0,0 +1,8 @@ +#!/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