PKGBUILD/systemd/flucky@.timer

60 lines
2.3 KiB
SYSTEMD
Raw Normal View History

2018-11-21 20:47:12 +00:00
[Unit]
Description=fetchmail timer
[Timer]
# OnCalendar
# Defines realtime (i.e. wallclock) timers with calendar event
# expressions.
#
# minutely *-*-* *:*:00
# hourly *-*-* *:00:00
# daily *-*-* 00:00:00
# monthly *-*-01 00:00:00
# weekly Mon *-*-* 00:00:00
# yearly *-01-01 00:00:00
# quarterly *-01,04,07,10-01 00:00:00
# semiannually *-01,07-01 00:00:00
# every 10 minutes *-*-* *:0/10:00
OnCalendar=*-*-* *:0/10:00
# Persistent
# Takes a boolean argument. If true, the time when the service unit was
# last triggered is stored on disk. When the timer is activated, the
# service unit is triggered immediately if it would have been triggered
# at least once during the time when the timer was inactive. This is
# useful to catch up on missed runs of the service when the machine was
# off.
Persistent=true
# RandomizedDelaySec
# Delay the timer by a randomly selected, evenly distributed amount of
# time between 0 and the specified time value. Defaults to 0, indicating
# that no randomized delay shall be applied. Each timer unit will
# determine this delay randomly each time it is started, and the delay
# will simply be added on top of the next determined elapsing time. This
# is useful to stretch dispatching of similarly configured timer events
# over a certain amount time, to avoid that they all fire at the same
# time, possibly resulting in resource congestion.
RandomizedDelaySec=0
# Unit
# The unit to activate when this timer elapses. The argument is a unit
# name, whose suffix is not ".timer". If not specified, this value
# defaults to a service that has the same name as the timer unit, except
# for the suffix. (See above.) It is recommended that the unit name that
# is activated and the unit name of the timer unit are named
# identically, except for the suffix.
# Unit=
# WakeSystem
# Takes a boolean argument. If true, an elapsing timer will cause the
# system to resume from suspend, should it be suspended and if the
# system supports this. Note that this option will only make sure the
# system resumes on the appropriate times, it will not take care of
# suspending it again after any work that is to be done is finished.
# Defaults to false
WakeSystem=false
[Install]
WantedBy=multi-user.target