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.


briandquinn
2008-03-26T20:56:01Z
Hi,
I'm trying to run a batch file on a remote server and capture the output. I've been using PSEXEC, executed as a local Process task but if I tick the "Store standard output" tick box the psexec process will run but never terminate.

If i don't select store output the process will run and terminate correctly.

Any suggestions?

Regards,


Brian

Sponsor
Forum information
Support
2008-03-27T22:45:01Z
It hangs if you don't specify username and password. It seems like psexec puts output on stderr instead of stdout.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
briandquinn
2008-03-28T11:43:24Z
Henrik,
Thanks for the reply. I have specified a username / password in the psexec command line for the remote machine and I use local admin credentials within visualcron?

Does it matter how I execute the task via VisualCron ie: foreground / background, with / without profile or managed / api code?

Thanks,

Brian
Support
2008-03-28T13:13:55Z
Background execution would be the best. Sometimes, depending on requirements from psexec (where it is located and other environment variables) it may require a local login with profile. So, a local login - it should not matter if you use API or managed way here.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top