Skip to content

Instantly share code, notes, and snippets.

@ottidmes ottidmes/systemd-timer.nix Secret
Created Dec 22, 2018

Embed
What would you like to do?
{
timers.backup = {
description = "Backup the server on time";
timerConfig = {
OnCalendar = "02:00";
Persistent = "true";
Unit = "backup.service";
};
after = [ "mongodb.service" ];
requires = [ "mongodb.service" ];
wantedBy = [ "multi-user.target" ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.