[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #XWY-365129]: Help with windows scheduler executing bat file



Hi again.

I forgot to cc support-idv which I am doing now.

-J

> Hi Chris,
> 
> Have you looked at Scheduled Tasks Log?
> 
> Thanks.
> 
> -Julien
> 
> > Full Name: Chris Noble
> > Email Address: address@hidden
> > Organization: Home
> > Package Version: 2.9u3
> > Operating System: Windows 7 64-bit
> > Hardware:
> > Description of problem:
> >
> > I have a .bat file containing the following:
> >
> > jre\bin\java -Xmx512m -Didv.enableStereo=false -jar idv.jar nz-gfs.isl
> >
> > which loads my isl file containing:
> >
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> > <isl debug="true" loop="1" offscreen="true" sleep="60.0minutes">
> > <bundle clear="true" file="${islpath}/nz-gfs2.xidv" wait="true"/>
> > <movie file="C:\_idv\animation.gif" imagesuffix="gif" 
> > imagetemplate="%count:00%_%time:yyyy-MM-dd-HH'Z'-EEE%" imagedir="C:\_idv"/>
> > </isl>
> >
> > In short it loads one of my bundles, makes a bunch of images and an
> > animation.
> >
> > Executing the bat file directly works fine - it runs as expected. However,
> > when I try and schedule the bat file to run via the Windows Scheduler
> > it fails. Tasks added before and after the java start command run fine,
> > but it appears java/idv never starts as it should.
> >
> > I've tried running it as an admin with a password, whether logged on or
> > not and I've even tried executing the command in the bat file directly
> > in the scheduler (ie bypassing the bat altogether) but with no luck.
> >
> > So, can you offer any advice on getting this to work with the windows
> > scheduler?
> >
> > Any suggestions would be greatly appreciated.
> >
> > Regards, Chris.
> >
> >
> 


Ticket Details
===================
Ticket ID: XWY-365129
Department: Support IDV
Priority: Normal
Status: Closed