testan a reboold \

This commit is contained in:
2025-10-14 04:43:00 -06:00
parent 376b5fadb1
commit 2f22180774
3 changed files with 17 additions and 6 deletions
+9 -4
View File
@@ -1,4 +1,9 @@
# m h dom mon dow command
# set hardware I2C RTC hourly
0 * * * * /bin/bash -c "/usr/sbin/hwclock -w 2>> /var/log/root-crontab.log"
@reboot /usr/share/customscripts/ifnet "/usr/share/customscripts/webhook bootup" 2>> /var/log/root-crontab.log
# m h dom mon dow command
# notify webhook of reboot
@reboot /bin/bash -c "/usr/share/customscripts/ifnet \"/usr/share/customscripts/webhook bootup\" 2>> /var/log/root-crontab.log"
# set the system time from the RTC every reboot
@reboot /usr/sbin/hwclock -s 2>> /var/log/root-crontab.log
# set the RTC from the system time every four hours
0 */4 * * * /usr/sbin/hwclock -w 2>> /var/log/root-crontab.log