add xlxapi-update

pull/243/head
Fabian Franz 2 years ago
parent 890e488059
commit bad324fdcf

@ -0,0 +1,3 @@
#!/bin/bash
/usr/bin/wget -q -O- http://localhost/index.php?callhome=1 > /dev/null

@ -0,0 +1,9 @@
[Unit]
Description=XLX API Service
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/xlxapi-update

@ -0,0 +1,9 @@
[Unit]
Description=Run xlx api call every day (if nobody opens the dashboard)
[Timer]
OnCalendar=*-*-* 1:0:0
Unit=xlxapi-update.service
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save

Powered by TurnKey Linux.