scheduled task windows 7

Discussion of Version 3 and developing lua grabbers
Post Reply
Everton
Posts: 4
Joined: Sat Nov 06, 2010 11:36 am

scheduled task windows 7

Post 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.
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: scheduled task windows 7

Post by alanbirtles »

what do you mean by doesnt work?
Everton
Posts: 4
Joined: Sat Nov 06, 2010 11:36 am

Re: scheduled task windows 7

Post 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.
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: scheduled task windows 7

Post by alanbirtles »

is a log file created?
Everton
Posts: 4
Joined: Sat Nov 06, 2010 11:36 am

Re: scheduled task windows 7

Post 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?
Everton
Posts: 4
Joined: Sat Nov 06, 2010 11:36 am

Re: scheduled task windows 7

Post 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
Post Reply