Scheduled Command Line

winnie

16-02-2009 03:51:01

Using the command line scheduled every hour seems to crash for me.
I am running it with highest privileges using Windows Vista Task Scheduler with the following options: /missingcheck /fnocheck /fnodo /quit
It starts up, finds the missing episodes, takes about 2 seconds while the status bar at the bottom goes from 0 to full (as if checking the free space possibly). The pop up window with the status on it is showing at this time along with the correct episode that has been added to the watched folder, none of the status bars in this move at all. After 2 seconds that episodes pop up window vanishes and the next missing episode appears, 2 seconds later the third, then the first again, second repeats about 3/4 times then crashes. None of the files copy across, but clearly it knows which files need to be moved and renamed.

Congrats on the updates btw - I have tested most of them - the rename space to dots works perfectly, as does the lowercase force option, double episodes now number correctly also - excellent work - thank you!

sstteevvee

16-02-2009 21:24:50

Are you using the latest alpha (a4)? The alpha 3 version had a bug that would cause crashes.

I've given it a go here from Windows scheduler with the same arguments as you, and its working fine. You'll probably want to set it to run as your user (having it log in and run as administrator isn't necessary). Having it run as you means it'll also use your settings, rather than perhaps having no settings to load if it is run as some other user.

Does Windows put anything in the system/event log when a task crashes?

A few things to try...

- Go into preferences and setting the number of simultaneous downloads to 1, and see if that helps. I don't entirely trust it yet if it it is set to any more than 1.
- Do the same operations from within TVRename yourself
- Does it crash if you do it from the command line, instead of task scheduler?
- Try removing the command line options one-by-one to see if it is any particular one that's the problem, e.g.:

/missingcheck /fnocheck /fnodo /quit
/missingcheck /fnocheck /quit
/missingcheck /fnocheck
/missingcheck /quit
/fnocheck /quit
etc..