Repository navigation
How to force start of task #528
|
I created a chain-task (1-1) scheduled at a certain time. How can I force start now via psql? Thanks Allen |
Answered by
pashagolub
Jan 1, 2023
Replies: 1 comment 1 reply
|
Hello, assuming your worker has name SELECT timetable.notify_chain_start(12345, 'worker01'); -- start chain foojob with ID 12345 on a client worker01You can also stop a running chain with this query: SELECT timetable.notify_chain_stop(12345, 'worker01');Kind regards |
1 reply
Answer selected by
pashagolub
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
assuming your worker has name
worker01and the chain name isfoojobwith ID12345you can execute this query to send a signal to the worker to start the execution:You can also stop a running chain with this query:
Kind regards