diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/quantifi-quotes-bond.timer | 9 | ||||
| -rw-r--r-- | scripts/quantifi-quotes-future.timer | 9 | ||||
| -rw-r--r-- | scripts/quantifi-quotes-fx.timer | 9 | ||||
| -rw-r--r-- | scripts/quantifi-quotes-ir.timer | 9 | ||||
| -rw-r--r-- | scripts/quantifi-quotes-irswaption.timer | 9 | ||||
| -rw-r--r-- | scripts/quantifi-quotes-irswaptionois.timer | 9 | ||||
| -rw-r--r-- | scripts/quantifi-quotes-swaption.timer | 9 | ||||
| -rw-r--r-- | scripts/quantifi-quotes-tranche.timer | 9 | ||||
| -rw-r--r-- | scripts/quantifi-quotes@.service | 12 |
9 files changed, 84 insertions, 0 deletions
diff --git a/scripts/quantifi-quotes-bond.timer b/scripts/quantifi-quotes-bond.timer new file mode 100644 index 00000000..0991f04a --- /dev/null +++ b/scripts/quantifi-quotes-bond.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Upload quantifi-quotes for bond +[Timer] +OnCalendar=Mon..Fri 23:55 +Unit=quantifi-quotes@bond.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target diff --git a/scripts/quantifi-quotes-future.timer b/scripts/quantifi-quotes-future.timer new file mode 100644 index 00000000..776438fa --- /dev/null +++ b/scripts/quantifi-quotes-future.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Upload quantifi-quotes for future +[Timer] +OnCalendar=Mon..Fri 23:55 +Unit=quantifi-quotes@future.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target diff --git a/scripts/quantifi-quotes-fx.timer b/scripts/quantifi-quotes-fx.timer new file mode 100644 index 00000000..5b85c378 --- /dev/null +++ b/scripts/quantifi-quotes-fx.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Upload quantifi-quotes for fx +[Timer] +OnCalendar=Mon..Fri 23:55 +Unit=quantifi-quotes@fx.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target diff --git a/scripts/quantifi-quotes-ir.timer b/scripts/quantifi-quotes-ir.timer new file mode 100644 index 00000000..d3b77a23 --- /dev/null +++ b/scripts/quantifi-quotes-ir.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Upload quantifi-quotes for ir +[Timer] +OnCalendar=Mon..Fri 23:55 +Unit=quantifi-quotes@ir.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target diff --git a/scripts/quantifi-quotes-irswaption.timer b/scripts/quantifi-quotes-irswaption.timer new file mode 100644 index 00000000..75083100 --- /dev/null +++ b/scripts/quantifi-quotes-irswaption.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Upload quantifi-quotes for ir_swaption +[Timer] +OnCalendar=Mon..Fri 23:55 +Unit=quantifi-quotes@ir_swaption.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target diff --git a/scripts/quantifi-quotes-irswaptionois.timer b/scripts/quantifi-quotes-irswaptionois.timer new file mode 100644 index 00000000..3eaa0ec5 --- /dev/null +++ b/scripts/quantifi-quotes-irswaptionois.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Upload quantifi-quotes for ir_swaption_ois +[Timer] +OnCalendar=Mon..Fri 23:55 +Unit=quantifi-quotes@ir_swaption_ois.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target diff --git a/scripts/quantifi-quotes-swaption.timer b/scripts/quantifi-quotes-swaption.timer new file mode 100644 index 00000000..cfb3c1c8 --- /dev/null +++ b/scripts/quantifi-quotes-swaption.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Upload quantifi-quotes for swaption +[Timer] +OnCalendar=Mon..Fri 23:55 +Unit=quantifi-quotes@swaption.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target diff --git a/scripts/quantifi-quotes-tranche.timer b/scripts/quantifi-quotes-tranche.timer new file mode 100644 index 00000000..8c2c0e01 --- /dev/null +++ b/scripts/quantifi-quotes-tranche.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Upload quantifi-quotes for tranche +[Timer] +OnCalendar=Mon..Fri 23:55 +Unit=quantifi-quotes@tranche.service +RandomizedDelaySec=1m + +[Install] +WantedBy=timers.target diff --git a/scripts/quantifi-quotes@.service b/scripts/quantifi-quotes@.service new file mode 100644 index 00000000..4c5a68b0 --- /dev/null +++ b/scripts/quantifi-quotes@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Simple quantifi_quotes service for products +OnFailure=monitor@%n + +[Service] +Type=simple +User=guillaume +Group=guillaume +ExecStart=/usr/bin/python quotes.py --upload --write %i_quote --product %i +WorkingDirectory=/home/guillaume/projects/quantifi +EnvironmentFile=/etc/serenitas.conf +Environment=PYTHONPATH=/home/guillaume/projects/code/python |
