View source: R/processServer.R
processServer | R Documentation |
The queue consists of items in the MOTUS_PATH$QUEUE<N>
folder. When the queue is empty, it is fed an item from the
MOTUS_PATH$QUEUE0
folder, which receives processed email messages
and directly moved folders.
processServer(N, tracing = FALSE)
N |
integer queue number. If in the range 1..8, this process
will watch for new jobs in |
tracing |
boolean scalar; if TRUE, enter the debugger before each handler is called |
Processing an item in the queue usually leads to more items being added to the queue, and these are processed in depth-first order; i.e. if X1 is a subjob of X and Y1 is a subjob of Y, and X was created before Y, and X1 and Y1 are both in the queue, then X1 will be processed before Y1, regardless of which was enqueued first.
This function does not return; it is meant for use in an R
script run in the background. After each subjob is handled,
the function checks for the existence of a file called
MOTUS_PATH$QUEUE0/killN
or
MOTUS_PATH$PRIORITY/killN
(for N >= 101)
If that file is found,
the function calls quit(save="no"). The file will also
be detected within the call to feed() when the queue
is empty, because it is located in the watched folder.
John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.