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


Jonathanv
2011-03-29T11:47:27Z
I'm trying VC to replace our current scheduler tools.
With the version 5.6.9 no problem.
But with 5.7.2 (build 29215) powershell scripts are blocked. The task never stop.

I created a simple PS1 file with just a line: write-host 'test'
From the command line it's working.

command: powershell
Arguments: .\script.ps1
Working Dir: dir with script file
Credential: a domain user
With profile, with API

Without credential it's working, but I need it to connect to network ressource.

PS I'm using Win2008 R2 (64bit)

All idea are welcome

Thx
Sponsor
Forum information
Support
2011-03-29T11:48:18Z
Try using the full path to the power script. Both powershell itself and script.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Jonathanv
2011-03-29T13:45:57Z
It's working, thanks a lot.
For info here task config for a powershell task:
command: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Arguments: d:\test.ps1
Working Dir: d:\
Credential: domain user

I'm satisfied of the product and your support.
Thanks
Support
2011-03-29T13:56:42Z
Great! Thanks for the feedback!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top