Community forum

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


jmira
  •  jmira
  • No customer Topic Starter
2012-02-22T14:07:33Z
I have a sh script in a remote server, I run that script with:

cd /root/TestSh/
./writeLog.sh

Now I want to run writeLog.sh from Visual Cron using SSH.
VC connect to the server without problem but i get the error:
bash: ./writeLog.sh: no such file or directory
Exception in Task: SSH Task returned error 127 from server.
jmira attached the following image(s):
Sponsor
Forum information
Support
2012-02-23T08:30:09Z
Error 127 means that the path is not found. Try using the full absolute path instead of ./
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jmira
  •  jmira
  • No customer Topic Starter
2012-02-23T12:33:41Z
It worked using:

cd "/root/TestSh/"; ./writeLog.sh

👍
Support
2012-02-23T12:35:08Z
Great, thanks for feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top