INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Scheduler  (Read 829 times)

harrydr

  • Junior Woodchuck
  • **
  • Posts: 54
Scheduler
« on: September 09, 2010, 03:56:45 pm »

How to set up the scheduler that it stop playing all days or some days at an exact hour.
Play is not a problem. But how to do the same to stop play.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Scheduler
« Reply #1 on: September 09, 2010, 05:16:46 pm »

There are other ways to do it, but the best and most reliable way is to schedule the command through the Windows Task Scheduler.  MC has a very robust set of automation commands.  Stopping playback is simple:

Code: [Select]
mc15.exe /Command Stop
All you need to do is setup Windows to execute that command line at the time you want playback to stop, and it will.  MC's command line documentation is available in the Wiki right here.  You can use the command line interface of MC to do pretty much anything you want to from the command line.  If you need more advanced commands not listed in the "regular" command line interface, there is also the MC Core Command List, available here.

Instructions on using the Windows Task Scheduler can be gotten from Microsoft.  It is quite easy.

Windows XP Instructions: http://support.microsoft.com/kb/308569
Windows 7 Instructions (Vista is essentially the same): http://windows.microsoft.com/en-US/windows7/schedule-a-task
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/
Pages: [1]   Go Up