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

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


ppeel
  •  ppeel
  • No customer Topic Starter
11 years ago
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?
Sponsor
Forum information
Support
11 years ago
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
11 years ago
I am using Send command. What does "fork the command" mean? I'm not familiar with that term.
Support
11 years ago
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