gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: add a pair of task scheduling comman


From: gnunet
Subject: [taler-docs] branch master updated: add a pair of task scheduling commands at the end of the nexus tutorial
Date: Wed, 20 Jul 2022 10:43:52 +0200

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 1932ca7  add a pair of task scheduling commands at the end of the 
nexus tutorial
1932ca7 is described below

commit 1932ca7ed3955d4071e74cb074c7b270f8487d40
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Wed Jul 20 04:43:32 2022 -0400

    add a pair of task scheduling commands at the end of the nexus tutorial
---
 libeufin/nexus-tutorial.rst | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/libeufin/nexus-tutorial.rst b/libeufin/nexus-tutorial.rst
index 408562a..33e9dfb 100644
--- a/libeufin/nexus-tutorial.rst
+++ b/libeufin/nexus-tutorial.rst
@@ -427,6 +427,28 @@ Now the list of transactions has grown by several entries:
      } ]
    }
 
+Lastly, you will want to schedule some tasks to run
+periodically in the background.
+This provides a more realistic system to explore.
+
+.. code-block:: console
+
+   $ libeufin-cli accounts task-schedule jrluser \
+       --task-type submit \
+       --task-name submit-payments-each-second \
+       --task-cronspec "* * *"
+   $ libeufin-cli accounts task-schedule jrluser \
+       --task-type fetch \
+       --task-name fetch-reports-each-second \
+       --task-cronspec "* * *" \
+       --task-param-level report \
+       --task-param-range-type latest
+
+The first task submits payments and the second fetches reports.
+Both are specified to run every second (cronspec ``"* * *"``).
+To reduce the frequency to every five seconds, use the cronspec ``"*/5 * *"``
+(remember to quote, to protect from shell filename expansion).
+
 .. note::
 
    The sandbox is intended as a testing tool and thus not stable.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]