diff --git a/pkg/lib/systemd/system/spark-update-notifier.timer b/pkg/lib/systemd/system/spark-update-notifier.timer new file mode 100644 index 0000000..b8a4818 --- /dev/null +++ b/pkg/lib/systemd/system/spark-update-notifier.timer @@ -0,0 +1,11 @@ +[Unit] +Description=Timer for Spark Update Notifier + +[Timer] +# 开机后第一次执行 +OnBootSec=1min +# 每天执行一次 +OnUnitActiveSec=1d + +[Install] +WantedBy=timers.target \ No newline at end of file