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.


bancho
2011-03-10T14:51:49Z
Hi everyone,

We've upgraded VC to the last release, and almost all our jobs has gone crazy: it does appear that VisualCron dos not execute bat files in the right way anymore, and it doesn't trap error exit codes from our programs.

Can you say me what is changed?

Thanks in advance
Sponsor
Forum information
Support
2011-03-10T15:42:16Z
1. Which version did you upgrade from?
2. can you make a small .bat file that reproduces the problem?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
bancho
2011-03-10T15:51:39Z
Hi,

We upgraded from 5.1.0 to 5.6.9 release on our Windows 2003 server systems.

An example of batch file is the following:


del D:\prod\Parcol\bin\temp.txt >null
dir /B D:\prod\Parcol\work\*.p7m > D:\prod\Parcol\bin\temp.txt
for /F %%I in (D:\prod\Parcol\bin\temp.txt) do call detach.bat "D:\prod\Parcol\work\%%I"
pause
exit 0

the call do detach.bat is needed to call another program, but if we call directly from this batch nothing change: VC run the batch (so it appers in main window), but really the batch is not executed, no error is spawned, tasks after the batch are launched, job finishes with a lot or damage in output because job didn't stopped after errors.
Support
2011-03-10T15:54:16Z
Is it possible to simplify it even more - into one script that can be reproduced without any external dependencies?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
bancho
2011-03-10T16:02:36Z
Hi Henrik,

You can simply list some file in any dir of your pc or doing anything in a simple bacth file: our problem is that all our batch files are not working
Support
2011-03-10T16:05:18Z
But it is not failing (should not fail) because of the dir command right. It is failing somewhere in detach.bat?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top