Run a mail sync operation periodically
This commit is contained in:
parent
3b7a9f17c1
commit
a8942d79e5
|
@ -111,6 +111,19 @@ in {
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Do a full mail sync periodically
|
||||||
|
systemd.user.services.periodic-mail-sync = {
|
||||||
|
description = "Run a mail sync operation periodically";
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
path =
|
||||||
|
[ pass-wayland isync-oauth2 mu procps emacs-vterm python39 gnupg nix ];
|
||||||
|
script = ''
|
||||||
|
/home/coolneng/.local/share/scripts/mail-sync -a
|
||||||
|
'';
|
||||||
|
after = [ "network-online.target" ];
|
||||||
|
startAt = "*-*-* *:00,15,30,45:00";
|
||||||
|
};
|
||||||
|
|
||||||
# HACK Change home partition permissions for mopidy
|
# HACK Change home partition permissions for mopidy
|
||||||
systemd.services.chmod-home = {
|
systemd.services.chmod-home = {
|
||||||
description = "Change home partition permissions for Mopidy";
|
description = "Change home partition permissions for Mopidy";
|
||||||
|
|
Loading…
Reference in New Issue