Skip to content

How to force start of task #528

Closed Answered by pashagolub
acappelletti asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

assuming your worker has name worker01 and the chain name is foojob with ID 12345 you can execute this query to send a signal to the worker to start the execution:

SELECT timetable.notify_chain_start(12345, 'worker01'); -- start chain foojob with ID 12345 on a client worker01

You can also stop a running chain with this query:

SELECT timetable.notify_chain_stop(12345, 'worker01');

Kind regards

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@acappelletti
Comment options

Answer selected by pashagolub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
❓ question Further information is requested
2 participants