TaskInfoProviderFetchTasksToRun Method |
Gets scheduled tasks to run, the process is expected to set the next run time for next task iteration.
Namespace: CMS.SchedulerAssembly: CMS.Scheduler (in CMS.Scheduler.dll) Version: 9.0.0
Syntax public static InfoDataSet<TaskInfo> FetchTasksToRun(
string siteName,
string serverName,
bool useExternalService
)
Parameters
- siteName
- Type: SystemString
Site name - serverName
- Type: SystemString
Server name - useExternalService
- Type: SystemBoolean
Indicates if get tasks for external service.
Return Value
Type:
InfoDataSetTaskInfoDataset with information about scheduled tasks
See Also