From 7dcaf6231c5217f75ad2e06f153529d543ca0ba0 Mon Sep 17 00:00:00 2001 From: sideup66 <47700565+sideup66@users.noreply.github.com> Date: Tue, 2 Aug 2022 23:26:56 -0400 Subject: [PATCH] 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 --- SD_ROOT/wz_mini/etc/cron/root | 9 +++++++++ SD_ROOT/wz_mini/etc/rc.d/S20cron | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 SD_ROOT/wz_mini/etc/cron/root create mode 100644 SD_ROOT/wz_mini/etc/rc.d/S20cron diff --git a/SD_ROOT/wz_mini/etc/cron/root b/SD_ROOT/wz_mini/etc/cron/root new file mode 100644 index 0000000..52e8af5 --- /dev/null +++ b/SD_ROOT/wz_mini/etc/cron/root @@ -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 \ No newline at end of file diff --git a/SD_ROOT/wz_mini/etc/rc.d/S20cron b/SD_ROOT/wz_mini/etc/rc.d/S20cron new file mode 100644 index 0000000..9076478 --- /dev/null +++ b/SD_ROOT/wz_mini/etc/rc.d/S20cron @@ -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/ \ No newline at end of file