Re: Does Debian crontab support the @NumberOfSeconds scheduling syntax?
On 2019-08-18 08:10 +0200, Sven Hartge wrote:
> Judah Richardson <judahrichardson@gmail.com> wrote:
>
>> In FreeBSD and derived OSes, you can use @n, where n is a number, to
>> indicate that a task should be started n seconds after its previous
>> invocation completed.
>
>> I couldn't find anything like that in the Debian crontab
>> documentation. Is it supported or possible?
>
> This is not something Vixie cron in Debian supports.
>
> You could achieve something like this with systemd.timers though.
To elaborate on that, systemd.timer(5) mentions the following option:
,----
| OnUnitInactiveSec= defines a timer relative to when the unit the timer
| is activating was last deactivated.
`----
Cheers.
Sven
Reply to: