aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/reallocate_bowdst.service9
-rw-r--r--scripts/reallocate_bowdst.timer9
2 files changed, 18 insertions, 0 deletions
diff --git a/scripts/reallocate_bowdst.service b/scripts/reallocate_bowdst.service
new file mode 100644
index 00000000..23d37d4f
--- /dev/null
+++ b/scripts/reallocate_bowdst.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Reallocate cash
+[Service]
+Type=simple
+User=flint
+Group=flint
+ExecStart=/usr/bin/python reallocate_cash.py
+WorkingDirectory=/home/guillaume/projects/code/python
+EnvironmentFile=/etc/serenitas.conf
diff --git a/scripts/reallocate_bowdst.timer b/scripts/reallocate_bowdst.timer
new file mode 100644
index 00000000..f466fd54
--- /dev/null
+++ b/scripts/reallocate_bowdst.timer
@@ -0,0 +1,9 @@
+[Unit]
+Description=Run reallocate_bowdst
+[Timer]
+OnCalendar=Mon..Fri 8,12:05
+Unit=reallocate_bowdst.service
+RandomizedDelaySec=1m
+
+[Install]
+WantedBy=timers.target