diff --git a/README.md b/README.md index 2869c61..fdbbb67 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ 1. x `curl -s https://raw.githubusercontent.com/PrincessPi3/Precision-Timekeeping-Fuckery/refs/heads/main/installer_auto.sh?nocache=$RANDOM | "$SHELL"` 2. x `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer1.sh` 3. x `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer2.sh` -4. c`git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer3.sh` +4. x `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer3.sh` 5. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/installer4.sh` 6. `git -C ~/Precision-Timekeeping-Fuckery pull && bash ~/Precision-Timekeeping-Fuckery/test.sh` #### Software (Manual) diff --git a/debug-level-conf/root-crontab b/debug-level-conf/root-crontab index 434dc3a..1b59d65 100644 --- a/debug-level-conf/root-crontab +++ b/debug-level-conf/root-crontab @@ -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 \ No newline at end of file diff --git a/todo.txt b/todo.txt index 0a5e5ee..847d467 100644 --- a/todo.txt +++ b/todo.txt @@ -41,4 +41,10 @@ check antenna tight both ends let run unimpeeded automate visudo - root crontab \ No newline at end of file + root crontab +root crontab + # set the system time from the RTC every reboot + @reboot hwclock -s + + # set the RTC from the system time every four hours + 0 */4 * * * hwclock -w \ No newline at end of file