Wait for SSH task to finish before running next task - VisualCron - Forum

Community forum

ppeel
  •  ppeel
  • No customer Topic Starter
2013-11-12T12:16:14Z
I'm having an issue when I run an SSH task. Once it is submitted, the subsequent tasks run without waiting for the SSH task to finish. Is there a way in VC to wait for completion of an SSH task?
Support
2013-11-12T15:28:24Z
It depends how you fork the command on the other side. Also, use Execute Command instead of Execute text.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ppeel
  •  ppeel
  • No customer Topic Starter
2013-11-12T17:35:07Z
I am using Send command. What does "fork the command" mean? I'm not familiar with that term.
Support
2013-11-12T22:31:12Z
Originally Posted by: ppeel 

I am using Send command. What does "fork the command" mean? I'm not familiar with that term.



I mean, for example, if you run the sleep command directly it will wait for completion. But if you create a new "thread" in Linux it will return right away. So, it depends on the function you run and how you run it.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top