diff options
| -rw-r--r-- | scripts/allocate_bonds.service | 1 | ||||
| -rw-r--r-- | scripts/allocate_bonds.timer | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/scripts/allocate_bonds.service b/scripts/allocate_bonds.service index 2ea73c07..3e204884 100644 --- a/scripts/allocate_bonds.service +++ b/scripts/allocate_bonds.service @@ -7,6 +7,5 @@ Type=oneshot User=flint Group=flint ExecStart=/usr/bin/python bondallocation_email.py -ExecStart=/usr/bin/python upload_bbh_trades.py WorkingDirectory=/home/guillaume/projects/code/python EnvironmentFile=/etc/serenitas.conf diff --git a/scripts/allocate_bonds.timer b/scripts/allocate_bonds.timer index 7fda6c70..bc95cfc4 100644 --- a/scripts/allocate_bonds.timer +++ b/scripts/allocate_bonds.timer @@ -1,9 +1,9 @@ [Unit] -Description=Run bondallocation script every hour from 8 am to 7pm. +Description=Run bondallocation script during the daytime [Timer] OnCalendar=Mon..Fri 8..19:0:0 -Unit=allocate_bonds.service +Unit=simple@bondallocation_email.service RandomizedDelaySec=1m [Install] |
