Jelajahi Sumber

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
sideup66 3 tahun lalu
induk
melakukan
7dcaf6231c
2 mengubah file dengan 14 tambahan dan 0 penghapusan
  1. 9 0
      SD_ROOT/wz_mini/etc/cron/root
  2. 5 0
      SD_ROOT/wz_mini/etc/rc.d/S20cron

+ 9 - 0
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

+ 5 - 0
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/