Shutting down Talend JobServer gracefully
Before shutting down or rebooting Windows, you should ensure that
the Talend JobServer
and Talend CommandLine
services are not running. You can shut down Talend JobServer in a
graceful manner without human interaction to wait for possibly running Jobs to
stop.
Procedure
To gracefully shut down your Talend JobServer, use the
stop_rs.bat command with the
-w <numberOfSeconds>
argument.
Behavior of the stop script:
Command | Behavior |
---|---|
stop_rs.bat | Terminates Talend JobServer if no Jobs are running. If any Jobs are running, lists the Jobs and allows the user to press any key to refresh the list or Y or y to terminate all the running Jobs. |
stop_rs.bat -f | Makes Talend JobServer terminate running Jobs and itself immediately. |
stop_rs.bat -w <numberOfSeconds> | Terminates Talend JobServer as soon as no Jobs are running anymore. If there are still Jobs running after the specified number of seconds the script will terminate with the return code 2. |
stop_rs.bat -f -w <numberOfSeconds> | Gives running Jobs the specified number of seconds to finish. If they do not, then makes Talend JobServer to terminate the running Jobs and itself. |