From 4cd944ea654477184f52a537543f0bccb7726588 Mon Sep 17 00:00:00 2001 From: ms Date: Sat, 18 Sep 2021 11:18:47 +0200 Subject: setting Nexus background tasks --- bin/taler-deployment-prepare-with-eufin | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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" } -- cgit v1.2.3