diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/hm_monthend.service | 11 | ||||
| -rw-r--r-- | scripts/hm_monthend.timer | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/scripts/hm_monthend.service b/scripts/hm_monthend.service new file mode 100644 index 00000000..6214cf99 --- /dev/null +++ b/scripts/hm_monthend.service @@ -0,0 +1,11 @@ +[Unit] +Description=Upload Bowdoin Street monthend positions to HM Globeop + +[Service] +Type=oneshot +User=flint +Group=flint +ExecStart=/usr/bin/python position_file_bowdst.py --upload +WorkingDirectory=/home/guillaume/projects/code/python +EnvironmentFile=/etc/serenitas.conf +Environment=PYTHONPATH=/home/guillaume/projects/code/python diff --git a/scripts/hm_monthend.timer b/scripts/hm_monthend.timer new file mode 100644 index 00000000..a851dc39 --- /dev/null +++ b/scripts/hm_monthend.timer @@ -0,0 +1,8 @@ +[Unit] +Description=Upload Bowdoin Street Open Positions +[Timer] +OnCalendar=*-*-01 05:00:00 +Unit=hm_monthend.service +RandomizedDelaySec=1m +[Install] +WantedBy=timers.target
\ No newline at end of file |
