Testing
This commit is contained in:
parent
0978a2e8f5
commit
28f3612839
1 changed files with 2 additions and 2 deletions
|
@ -36,8 +36,8 @@
|
||||||
path = [ pkgs.curl pkgs.fx ];
|
path = [ pkgs.curl pkgs.fx ];
|
||||||
script = ''
|
script = ''
|
||||||
echo "Activating get-theme-times systemd service"
|
echo "Activating get-theme-times systemd service"
|
||||||
curl -s "https://api.sunrise-sunset.org/json?lat=35.680&lng=135.03" | fx .results.sunrise > /tmp/wttr.sunrise
|
curl -s "https://api.sunrise-sunset.org/json?lat=35.680&lng=135.03&tzid=Asia/Tokyo" | fx .results.sunrise > /tmp/wttr.sunrise
|
||||||
curl -s "https://api.sunrise-sunset.org/json?lat=35.680&lng=135.03" | fx .results.sunset > /tmp/wttr.sunset
|
curl -s "https://api.sunrise-sunset.org/json?lat=35.680&lng=135.03&tzid=Asia/Tokyo" | fx .results.sunset > /tmp/wttr.sunset
|
||||||
echo "get-theme-times - complete"
|
echo "get-theme-times - complete"
|
||||||
'';
|
'';
|
||||||
after = [ "networking-online.target" ];
|
after = [ "networking-online.target" ];
|
||||||
|
|
Loading…
Reference in a new issue