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


wwinchester
2013-03-08T13:25:30Z
We have a console application that we are running from VisualCron. Within the console application we are trying to execute a VB.Net Shell command. When running the console application outside of VisualCron the Shell command fires correctly. However, it fails to execute when the console application is run from VisualCron.

This is an older console application that we are hoping to run from within VisualCron without having to do any reengineering so any advise as to the cause would be greatly appreciated.
Sponsor
Forum information
Support
2013-03-08T13:26:45Z
What errors do you get in the std error column?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
wwinchester
2013-03-08T13:45:05Z
Forgive me as I am new to VisualCron, I am assuming you are asking if any errors are showing up in the Task log error column. The answer is none and the result indicates Success.

The console application is looping to create a series of files and those files are then being zipped using a call to WinZip thru a Shell command and are then emailed to our clients. The files are getting zipped correctly when running outside of Cron but fail when the console application is run by VisualCron.

We are hoping to continue to use the console app as is, as it would take a bit of reengineering to do the file zipping and emailing from within VisualCron.

Support
2013-03-08T13:47:05Z
Have you tried to add a Credential (same user as you are logged in to) and select it in the Task?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
wwinchester
2013-03-08T21:38:23Z
Originally Posted by: Support 

Have you tried to add a Credential (same user as you are logged in to) and select it in the Task?



Credentials did the trick...thanks 😁
Scroll to Top