Menu

windows_task_scheduler  Edit

Running kmttg using Windows Task Scheduler

You can setup kmttg to run in the background on a schedule of your choosing using Windows Task Scheduler.
In Task Scheduler "Actions" tab you should set the run up as follows:

  • Program/script = javaw.exe
  • Arguments = -jar "full path to kmttg.jar" -b or -s "tivoName"
  • Start in = full path to folder containing kmttg.jar

AUTO TRANSFERS SINGLE CYCLE EXAMPLE

  • Program = javaw.exe
  • Arguments = -jar "C:\kmttg\kmttg.jar" -b
  • Start in = C:\kmttg

The -b argument to kmttg.jar signifies to kmttg to run through auto transfers mode in background mode (no GUI) just 1 cycle and then exit.

For a simple way to create a Task in Task Scheduler use the "Create Basic Task..." Wizard. So continuing with above example:

Name = kmttg Auto Transfers
Next
Trigger = Daily
Next
Edit Start time to suit your needs
Next
Action = Start a program
Next
Program/script = javaw.exe
Add arguments = -jar "C:\kmttg\kmttg.jar" -b
Start in = C:\kmttg
Next
Finish

AUTOSKIP FROM SKIPMODE EXAMPLE

  • Program = javaw.exe
  • Arguments = -jar "C:\kmttg\kmttg.jar" -s "Roamio"
  • Start in = C:\kmttg

The above example signifies to run "AutoSkip from SkipMode" function on TiVo called "Roamio".
NOTE: AutoSkip from SkipMode is only relevant for series 5 or later TiVos that support TiVo SkipMode.

For a simple way to create a Task in Task Scheduler use the "Create Basic Task..." Wizard. So continuing with above example:

Name = kmttg AutoSkip from SkipMode for Roamio
Next
Trigger = Daily
Next
Edit Start time to suit your needs
Next
Action = Start a program
Next
Program/script = javaw.exe
Add arguments = -jar "C:\kmttg\kmttg.jar" -s "Roamio"
Start in = C:\kmttg
Next
Finish

AUTOSKIP SERVICE EXAMPLE

  • Program = javaw.exe
  • Arguments = -jar "C:\kmttg\kmttg.jar" -k all
  • Start in = C:\kmttg

The above example signifies to run AutoSkip service in the background (no GUI) for all TiVos.
In this example I would like to setup to be able to run AutoSkip service on demand such that I can start it and stop it when I please. In order to do this:

From Task Scheduler use the "Create Task..." Wizard.:

General tab -- Name = kmttg AutoSkip Service
Actions tab -- New...
Action = Start a program
Program/script = javaw.exe
Add arguments = -jar "C:\kmttg\kmttg.jar" -k all
Start in = C:\kmttg

Now with above setup I can right click on "kmttg AutoSkip Service" in Task Scheduler Library and choose Run to start the service or End to stop it on demand.

Of course you can use the Triggers tab to start the task automatically on login or various other possibilities.


Related

Wiki: AutoSkip_from_SkipMode
Wiki: Home
Wiki: release_notes

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.