[systemd-devel] Adding a Timer section to .service files

MichaƂ Zegan webczat_200 at poczta.onet.pl
Fri Jul 8 13:42:45 UTC 2016


One thing to say: I heard, at least once, that systemd's timer are more
complicated because in order to make a timer you need two files instead
of creating one, especially in comparison to cron where you need just
one line although I always forget the order of fields. I would say a
timer section in the service file could be a nice shortcut to create
timers for services quickly.

W dniu 08.07.2016 o 15:14, Reindl Harald pisze:
> 
> 
> Am 08.07.2016 um 15:11 schrieb One Infinite Loop:
>> There are cases when you don't need .timer files but only a [Timer]
>> section. With a well written manual page, systemd users will understand
>> why is useful to have a [Timer] section inside a .service file
> 
> FIRST: learn to quote in email
> 
> second: you need to explain the usecases very well
> third: a good design don't require read manpages all the time
> 
> 
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/systemd-devel
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 510 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160708/3bbdd3fc/attachment.sig>


More information about the systemd-devel mailing list