The SetTask method creates an instance of the Task class, sets its properties to the values passed as arguments, and then sets the Task property to the new ITask dispinterface.
VBScript Syntax
IProject.SetTask AccountName [, Interval [, StartTime]]
Parameters
AccountName
A string specifying the account to use when running the refresh cycle. Default=""
Interval
An optional integer specifying the interval in minutes between successive refresh cycles. Default=1440 (once a day).
StartTime
An optional date value after which to start the task. Default=None.
Return Value
None
Example
' Using the Windows Scripting Host and VBScript
Set Project = CreateObject("Push.Project")
call Project.Load("News Project")
call Project.SetTask("ChannelUser",720)
See Also