[systemd-devel] Scheduling 3 periodic jobs using systemd

Barry Scott barry at barrys-emacs.org
Fri Jul 12 14:02:19 UTC 2024



> On 12 Jul 2024, at 11:08, t.schneider at disroot.org wrote:
> 
> Could you please explain the idea behind this proposal?
> 

I assume you run three different services to do the backups.
Each with different parameters, month, weeek, day config.

flock allows you serialise the access to a resource, in your case "doing a backup".

Read man flock to undertstand what flock does and what the command should be.

Barry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240712/c9945e61/attachment.htm>


More information about the systemd-devel mailing list