remove java from systemd unit dependency
call at 8am
This commit is contained in:
parent
f50dd169e4
commit
579ce40308
|
@ -7,8 +7,10 @@
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
path = [
|
path = [
|
||||||
pkgs.babashka
|
pkgs.babashka
|
||||||
pkgs.jdk11
|
pkgs.git
|
||||||
|
pkgs.curl
|
||||||
];
|
];
|
||||||
|
startAt = "*08:00:00";
|
||||||
script = ''
|
script = ''
|
||||||
cd /home/anish/usr/dhyan
|
cd /home/anish/usr/dhyan
|
||||||
source .envrc
|
source .envrc
|
||||||
|
@ -21,7 +23,6 @@
|
||||||
systemd.timers.dhyan = {
|
systemd.timers.dhyan = {
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
partOf = [ "kitaab-sync.service" ];
|
partOf = [ "kitaab-sync.service" ];
|
||||||
timerConfig.OnCalendar = [ "daily" ];
|
timerConfig.OnCalendar = [ "*08:00:00" ];
|
||||||
startAt = "*08:00:00";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue