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
Former-commit-id: d09f89a327
This commit is contained in:
parent
021e9cc750
commit
9ed494afd7
@ -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