aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-11-26 00:03:32 +0300
committerawy <awy@awy.one>2025-11-26 15:00:45 +0300
commit5b1074f45df563f97c6bb430c4377b1831dbf692 (patch)
tree5df9d9c18e6d09354133614d634065f1c8a6437d
parent775239c9a585307b71bbb68329e6ae39cbc48d92 (diff)
downloadhyprdots-5b1074f45df563f97c6bb430c4377b1831dbf692.tar.gz
time sync every hour via cron
-rw-r--r--dependencies.txt1
-rwxr-xr-xrice.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/dependencies.txt b/dependencies.txt
index 3c3b79c..40560b5 100644
--- a/dependencies.txt
+++ b/dependencies.txt
@@ -97,6 +97,7 @@ cmake
tllist
solaar
wget
+ntp
# TESSEN #
tessen
diff --git a/rice.sh b/rice.sh
index 967fa78..c1ec54c 100755
--- a/rice.sh
+++ b/rice.sh
@@ -134,6 +134,8 @@ echo "*/30 * * * * export DBUS_SESSION_BUS_ADDRESS=\$(rg --null-data \"DBUS_SESS
*/30 * * * * export DBUS_SESSION_BUS_ADDRESS=\$(rg --null-data \"DBUS_SESSION_BUS_ADDRESS\" \"/proc/\$(pgrep -x waybar)/environ\" | sed 's/DBUS_SESSION_BUS_ADDRESS=//'); /home/$PERMUSER/.local/bin/cron/checkup
*/5 * * * * export DBUS_SESSION_BUS_ADDRESS=\$(rg --null-data \"DBUS_SESSION_BUS_ADDRESS\" \"/proc/\$(pgrep -x waybar)/environ\" | sed 's/DBUS_SESSION_BUS_ADDRESS=//'); /home/$PERMUSER/.local/bin/cron/mailup" | run_as_user crontab -
+echo "0 */1 * * * ntpdate pool.ntp.org" | crontab -
+
cd /home/"$PERMUSER"
run_as_user git clone https://git.awy.one/autofox
cd autofox