Description Usage Arguments Options from Parameter Examples
This function provides a minimal console based interface to follow the progression of tasks in a queue One 'queue' can follows an arbitrary number of tasks run in parallel.
1 |
from |
source of the queue to monitor, simplest is the queue name (without the queue prefix) |
redis |
redis client definition object, returned by |
options |
list (see section options) |
debug |
show verbose information message if TRUE (for development) |
use progress bar
size of the progress bar (number of chars)
number of steps of all the tasks (if always the same and not provided by each task)
number of columns to use to show the tasks progress
number of seconds to sleep between update
number of log messages to show (only lasts)
from parameter can be either a single character value,
redis key where the current queue name is stored in case of publish strategy
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Follow the progress of the queue named "queue1"
redis_progress_monitor("queue1")
# Following tasks published in a list
redis_progress_monitor(list(key="myqueues"))
# Using progress bar and show only the 10 last log messages
redis_progress_monitor(from=queue1, options=list(use.bar=TRUE, log.size=10))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.