making preview happen at 2:30 and backup at 12:30

This commit is contained in:
Chris Cochrun 2023-03-02 09:41:41 -06:00
parent 1e65303d83
commit 7e09034675

View file

@ -253,7 +253,7 @@
enable = true; enable = true;
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStart = "/home/chris/scripts/nextcloud/backup.sh"; ExecStart = "/home/chris/bin/nextcloud/backup.sh";
}; };
}; };
photoprism-index = { photoprism-index = {
@ -280,7 +280,7 @@
enable = true; enable = true;
partOf = ["nextcloud-previews.service"]; partOf = ["nextcloud-previews.service"];
timerConfig = { timerConfig = {
OnCalendar = "*-*-* 00:00:30"; OnCalendar = "*-*-* 00:02:30";
Unit = "nextcloud-previews.service"; Unit = "nextcloud-previews.service";
}; };
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];