The TaskScheduler COM interface may be able to accomplish this need.
In particular the "Interval" property seems to be the number of minutes between executions.
quote:
c:\data\scripts>%tmp%\kix32 taskscheduler.kix
Task Scheduler Jobs for \\amdc006
===============================================
JobName: DumpObjectsADSI.job
ApplicationName: c:\csaapps\dumpobj-adsi.cmd
Parameters:
AccountName: TYCO\account
MostRecentRunTime: 8/18/2003 6:00:00 AM
NextRunTime: 8/19/2003 6:00:00 AM
Status: 1
ExitCode: 1
Creator: account
Trigger Proprties
--------------------
BeginTime: 4/10/2003 6:00:00 AM
Days:
DaysInterval: 1
DaysOftheWeek:
Duration: 0
EndTime:
Flags: 0
Interval: 0
Months:
triggerString: At 6:00 AM every day, starting 4/10/2003
TriggerType: 1
WeeksInterval:
WhichWeek:
--------------------
JobName: SetPrfDc.job
ApplicationName: c:\jobs\setdc11.cmd
Parameters:
AccountName: TYCO\account1
MostRecentRunTime: 8/18/2003 10:30:00 AM
NextRunTime: 8/18/2003 11:30:00 AM
Status: 1
ExitCode: 1
Creator: account1
Trigger Proprties
--------------------
BeginTime: 10/2/2002 12:30:00 AM
Days:
DaysInterval: 1
DaysOftheWeek:
Duration: 1380
EndTime:
Flags: 2
Interval: 60
Months:
triggerString: Every 1 hour(s) from 12:30 AM for 23 hour(s) every day, starting 10/2/2002
TriggerType: 1
WeeksInterval:
WhichWeek:
--------------------
[ 18. August 2003, 16:53: Message edited by: Howard Bullock ]