cron (x) systemd timer (o) user generic template.
basically hrs, weeks, months.
This commit is contained in:
12
.config/systemd/user/on-hourly@.timer
Normal file
12
.config/systemd/user/on-hourly@.timer
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Run %i hourly
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=hourly
|
||||||
|
RandomizedDelaySec=1m
|
||||||
|
AccuracySec=1s
|
||||||
|
Persistent=true
|
||||||
|
Unit=%i.service
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
12
.config/systemd/user/on-monthly@.timer
Normal file
12
.config/systemd/user/on-monthly@.timer
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Run %i monthly
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=monthly
|
||||||
|
RandomizedDelaySec=1h
|
||||||
|
AccuracySec=45s
|
||||||
|
Persistent=true
|
||||||
|
Unit=%i.service
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
12
.config/systemd/user/on-weekly@.timer
Normal file
12
.config/systemd/user/on-weekly@.timer
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Run %i weekly
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=weekly
|
||||||
|
RandomizedDelaySec=30m
|
||||||
|
AccuracySec=1s
|
||||||
|
Persistent=true
|
||||||
|
Unit=%i.service
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
||||||
Reference in New Issue
Block a user