diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/load_bbh.service | 10 | ||||
| -rw-r--r-- | scripts/load_bbh.timer | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/scripts/load_bbh.service b/scripts/load_bbh.service new file mode 100644 index 00000000..35b9c8b4 --- /dev/null +++ b/scripts/load_bbh.service @@ -0,0 +1,10 @@ +[Unit] +Description=Load BBH reports + +[Service] +Type=simple +User=flint +Group=flint +ExecStart=/usr/bin/python load_bbh_reports.py +WorkingDirectory=/home/guillaume/projects/code/python +EnvironmentFile=/etc/serenitas.conf diff --git a/scripts/load_bbh.timer b/scripts/load_bbh.timer new file mode 100644 index 00000000..d3b531da --- /dev/null +++ b/scripts/load_bbh.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run load_bbh.service +[Timer] +OnCalendar=Mon..Fri 7:35 +Unit=load_bbh.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target |
