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