mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-25 14:57:19 +00:00
recreated repo and re added cron scripts (#211)
* recreated repo and re added cron scripts * rename cron script and move it to the right folder. * Delete .vs directory remove .vs directory
This commit is contained in:
parent
db71bea0ad
commit
7dcaf6231c
9
SD_ROOT/wz_mini/etc/cron/root
Normal file
9
SD_ROOT/wz_mini/etc/cron/root
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Example of job definition:
|
||||||
|
# .---------------- minute (0 - 59)
|
||||||
|
# | .------------- hour (0 - 23)
|
||||||
|
# | | .---------- day of month (1 - 31)
|
||||||
|
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
|
||||||
|
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
|
||||||
|
# | | | | |
|
||||||
|
# * * * * * user-name command to be executed
|
||||||
|
#45 05 * * * /sbin/reboot
|
5
SD_ROOT/wz_mini/etc/rc.d/S20cron
Normal file
5
SD_ROOT/wz_mini/etc/rc.d/S20cron
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#autostart crond
|
||||||
|
source /opt/wz_mini/etc/rc.common
|
||||||
|
wait_for_wlan_ip
|
||||||
|
/opt/wz_mini/tmp/.bin/crond -b -c /opt/wz_mini/etc/cron/
|
Loading…
Reference in New Issue
Block a user