Hello! 26.02.2017 15:12, Carlos E. R. пишет:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2017-02-26 14:06, Mikhail Kasimov wrote:
Hello!
... can systemd timers operate on fixed times, like cron? '/AccuracySec/=1us'. Example:
================================================ k_mikhail@linux-mk500:~> systemctl cat vba32update.timer # /etc/systemd/system/vba32update.timer [Unit] Description=Runs VBA32 Update Hourly Requires=timers.target
[Timer] OnBootSec=2min OnUnitInactiveSec=1h AccuracySec=1us
[Install] WantedBy=timers.target
================================================ k_mikhail@linux-mk500:~> journalctl -e -u vba32update.service ... Фев 26 12:13:14 linux-mk500 systemd[1]: Started VBA32 Anti-Virus Update Service. Фев 26 13:13:14 linux-mk500 systemd[1]: Starting VBA32 Anti-Virus Update Service
Do you mean such case? No.
Run at 15:13 every alternate day, for instance. Or 20:22 on Mondays. Or the 1st day of every week or month at 08:01
[1] https://www.freedesktop.org/software/systemd/man/systemd.timer.html Take a look on OnCalendar= directive Due to [2] (see Calendar Events section) https://www.freedesktop.org/software/systemd/man/systemd.time.html Monday *-*-* 20:22:00 (here *-*-* schema means year-month-day) or *-*-01 08:01:00 M? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org