SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-05-2007, 12:38 PM
popechild popechild is offline
Sage Expert
 
Join Date: May 2006
Posts: 725
Possible to run scheduled task without cmd window opening?

I have a scheduled task that runs overnight to download xmltv data, but occasionally I'm up late watching tv and have the cmd window open while I'm watching something. Is there a way to setup the batch file, or the scheduled task so that it operates "quietly" in the background?

Thanks!
Reply With Quote
  #2  
Old 06-05-2007, 02:56 PM
doc's Avatar
doc doc is offline
Sage Fanatic
 
Join Date: Jun 2006
Location: Leicester, England
Posts: 918
I haven't tried any of these methods but worth a go.

1. the estist is.. (from http://robert.accettura.com/archives...nd-batch-file/)

Simply create a shortcut to the bat file in the same directory which will create a .lnk file. Go to the properties of the lnk file and set it to run minimized. Then, go to the scheduled task and “manually” enter the path+file name of the .lnk file.

If you click browse to search for the lnk file, it won’t work.

Then run the task and all you will see is a little flash or minimized icon on your taskbar while the bat does its thing.


2. the hard way is posted here

http://www.pcreview.co.uk/forums/thread-2125918.php

its where it mensions using vbscripts to call batch files.

If theres an easier way I'd like to know too.

Good luck!
Reply With Quote
  #3  
Old 06-05-2007, 03:40 PM
KJake KJake is offline
Sage Icon
 
Join Date: May 2003
Location: West Michigan
Posts: 1,117
Also, depending on permissions needed, you can tell the task to run as SYSTEM, no password needed and you won't see the windows anymore.
Reply With Quote
  #4  
Old 06-05-2007, 06:05 PM
popechild popechild is offline
Sage Expert
 
Join Date: May 2006
Posts: 725
Quote:
Originally Posted by KJake View Post
Also, depending on permissions needed, you can tell the task to run as SYSTEM, no password needed and you won't see the windows anymore.
As far as I can tell, that seems to have done the trick... thanks!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduled recordings bazan SageTV Software 4 09-15-2006 08:36 AM
Missing Scheduled Recordings Harris_C SageTV Software 1 08-26-2006 12:50 AM
Q about Scheduled Recordings in 5.0.4 Franc SageTV Software 4 06-30-2006 08:33 AM
3.0.7 Suddenly not showing scheduled recordings waynedunham SageTV Beta Test Software 8 12-30-2005 01:21 PM
running epg of windows scheduled task... doron_amedey SageTV Software 5 09-14-2005 03:03 PM


All times are GMT -6. The time now is 06:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.