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:
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
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
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.