Set refresh to midnight
This commit is contained in:
parent
015bc86937
commit
ac18c54922
4 changed files with 5 additions and 5 deletions
|
@ -48,7 +48,7 @@ in {
|
||||||
};
|
};
|
||||||
timers.update-software-feeds = {
|
timers.update-software-feeds = {
|
||||||
Unit.Description = "Update software feeds";
|
Unit.Description = "Update software feeds";
|
||||||
Timer.OnCalendar = "hourly";
|
Timer.OnCalendar = "00:05";
|
||||||
Install.WantedBy = ["timers.target"];
|
Install.WantedBy = ["timers.target"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -26,14 +26,14 @@
|
||||||
in {
|
in {
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
timers.mail2rss = {
|
timers.mail2rss = {
|
||||||
Timer.OnCalendar = "8:55";
|
Timer.OnCalendar = "23:58";
|
||||||
Install.WantedBy = ["timers.target"];
|
Install.WantedBy = ["timers.target"];
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
mail2rss = {
|
mail2rss = {
|
||||||
Unit.Description = "Mail to rss exporter";
|
Unit.Description = "Mail to rss exporter";
|
||||||
Service = {
|
Service = {
|
||||||
Environment = "PATH=${lib.makeBinPath [pkgs.coreutils config.programs.rbw.package]}";
|
Environment = "PATH=${lib.makeBinPath [pkgs.coreutils]}";
|
||||||
ExecStart = "${mail2rss}/bin/mail2rss";
|
ExecStart = "${mail2rss}/bin/mail2rss";
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
};
|
};
|
||||||
|
|
|
@ -97,7 +97,7 @@ in {
|
||||||
|
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
timers.log2rss = {
|
timers.log2rss = {
|
||||||
Timer.OnCalendar = "8:55";
|
Timer.OnCalendar = "23:58";
|
||||||
Install.WantedBy = ["timers.target"];
|
Install.WantedBy = ["timers.target"];
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -55,7 +55,7 @@ in {
|
||||||
'';
|
'';
|
||||||
after = ["mastodon-digest.service"];
|
after = ["mastodon-digest.service"];
|
||||||
requires = ["mastodon-digest.service"];
|
requires = ["mastodon-digest.service"];
|
||||||
startAt = "9:00:00";
|
startAt = "00:00";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
LoadCredential = [
|
LoadCredential = [
|
||||||
|
|
Loading…
Reference in a new issue