mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
example cron job script (#186)
* Create 25-add-cron-jobs my suggestion for adding cron jobs on startup * Update 25-add-cron-jobs
This commit is contained in:
parent
87b9f7dac6
commit
d09f89a327
@ -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
|
Loading…
Reference in New Issue
Block a user