diff options
| -rw-r--r-- | scripts/ice.service | 10 | ||||
| -rw-r--r-- | scripts/ice.timer | 8 |
2 files changed, 18 insertions, 0 deletions
diff --git a/scripts/ice.service b/scripts/ice.service new file mode 100644 index 00000000..f63ecf44 --- /dev/null +++ b/scripts/ice.service @@ -0,0 +1,10 @@ +[Unit] +Description=Download Ice reports + +[Service] +Type=simple +User=flint +Group=flint +ExecStart=/usr/bin/python ice.py +WorkingDirectory=/home/guillaume/projects/code/python +EnvironmentFile=/etc/serenitas.conf diff --git a/scripts/ice.timer b/scripts/ice.timer new file mode 100644 index 00000000..a9a88a9f --- /dev/null +++ b/scripts/ice.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Download ICE reports at 11:59pm +[Timer] +OnCalendar=Mon..Fri 23:59 +Unit=ice.service + +[Install] +WantedBy=timers.target |
