diff options
author | ms <ms@taler.net> | 2021-09-18 11:18:47 +0200 |
---|---|---|
committer | ms <ms@taler.net> | 2021-09-18 11:18:47 +0200 |
commit | 4cd944ea654477184f52a537543f0bccb7726588 (patch) | |
tree | c2688a14f253945faf2be068a12f6bef47e7e926 | |
parent | f2d4d37a4edb86b7402c8ae4448ed4d543f742c9 (diff) | |
download | deployment-4cd944ea654477184f52a537543f0bccb7726588.tar.gz deployment-4cd944ea654477184f52a537543f0bccb7726588.tar.bz2 deployment-4cd944ea654477184f52a537543f0bccb7726588.zip |
setting Nexus background tasks
-rwxr-xr-x | bin/taler-deployment-prepare-with-eufin | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/taler-deployment-prepare-with-eufin b/bin/taler-deployment-prepare-with-eufin index 62c0900..4c0d2af 100755 --- a/bin/taler-deployment-prepare-with-eufin +++ b/bin/taler-deployment-prepare-with-eufin @@ -193,6 +193,20 @@ function prepare_nexus_account() { libeufin-cli connections download-bank-accounts $3 > /dev/null libeufin-cli connections import-bank-account \ --offered-account-id=$5 --nexus-bank-account-id=$4 $3 > /dev/null + # Set how often the automatic routing must fetch the bank account. + echo -n "Setting background payment initiator.." + libeufin-cli accounts task-schedule $4 \ + --task-type="submit" \ + --task-name='submit-payments-every-second' \ + --task-cronspec='* * *' + echo " OK" + echo -n "Setting background history fetch.." + libeufin-cli accounts task-schedule $4 \ + --task-type="fetch" \ + --task-name='fetch-reports-every-second' \ + --task-cronspec='* * *' \ + --task-param-level=report \ + --task-param-range-type=latest echo " OK" } |