Page 1 of 1

scheduled task windows 7

Posted: Sat Nov 06, 2010 11:59 am
by Everton
I'm having problems getting XmltvGUI to run from a windows 7 x64 scheduled task. I have no problems running:

"C:\Program Files (x86)\XMLTV GUI\XmltvGUI.exe" /Grab

from the program's target window, but when I try to do this in a scheduled task it doesn't work. I have:

"C:\Program Files (x86)\XMLTV GUI\XmltvGUI.exe"

in the program line, and:

/Grab

in the add arguments line.

Any ideas? Thanks in advance for help.

Re: scheduled task windows 7

Posted: Sat Nov 06, 2010 2:00 pm
by alanbirtles
what do you mean by doesnt work?

Re: scheduled task windows 7

Posted: Sat Nov 06, 2010 2:47 pm
by Everton
nothing happens when I run the task i.e. xmltvGUI doesn't launch (well, something flickers on the screen for a millisecond and is gone). If I run manually with Grab in the 'target' I have no problems, it's just via a scheduled task. I've tried creating a bat file which again works fine manually, but not via a scheduled task.

Re: scheduled task windows 7

Posted: Sat Nov 06, 2010 4:41 pm
by alanbirtles
is a log file created?

Re: scheduled task windows 7

Posted: Sat Nov 06, 2010 5:57 pm
by Everton
no, nothing - it just says 'Running' for ages when I run the task and doesn't stop.

How do you schedule the job on your pc?

Re: scheduled task windows 7

Posted: Sat Nov 06, 2010 6:17 pm
by Everton
got it working but dont know how....I deleted the argument grab and just had the task open the program ("C:\Program Files (x86)\XMLTV GUI\XmltvGUI.exe") to check that bit worked, which it did. Then I went back and added /grab to the arguments and it worked. I guess windows got a bit confused when the argument is added at the start