taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 4cd944ea654477184f52a537543f0bccb7726588
parent f2d4d37a4edb86b7402c8ae4448ed4d543f742c9
Author: ms <ms@taler.net>
Date:   Sat, 18 Sep 2021 11:18:47 +0200

setting Nexus background tasks

Diffstat:
Mbin/taler-deployment-prepare-with-eufin | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git 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" }