tune cronjobs
[distro-setup] / filesystem / etc / systemd / system / btrfsmaint.timer
index 15bc0f6d0fcc11944a360ecc5feaf046ad30818c..761380c4e43da58cc86efd519b2664cbb0466232 100644 (file)
@@ -2,7 +2,11 @@
 Description=btrfsmaint
 
 [Timer]
-OnCalendar=Thu *-*-* 02:00:00
+# we could programatically get this via:
+# timedatectl show --property=Timezone | sed 's/^[^=]*=//'
+# or
+# readlink /etc/localtime | sed -r 's,^.*/([^/]+/[^/]+)$,\1,'
+OnCalendar=Thu *-*-* 02:00:00 America/New_York
 
 [Install]
 WantedBy=timers.target