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 |
Beta Was this translation helpful? Give feedback.
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 worker01 You can also stop a running chain with this query: SELECT timetable.notify_chain_stop(12345, 'worker01'); Kind regards |
Beta Was this translation helpful? Give feedback.
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
worker01
and the chain name isfoojob
with ID12345
you 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