Platform Core .NET Assemblies API
ScheduleMinutelyProcessJob Method
See Also  Send Feedback
Terrasoft.Core.Scheduler Namespace > AppScheduler Class : ScheduleMinutelyProcessJob Method
jobName
Job name.
jobGroup
The name of the group that the job belongs to.
processName
Process name.
workspaceName
The workspace in which the process should be started.
userName
The user on behalf of which the process will be started.
periodInMinutes
The interval of starting the process in minutes.
parameters
Parameters that will be passed to the process.
isSystemUser
A flag of the system user. If true, the job will run on behalf of the user name from the "System operations user" system setting.
useMisfireInstructionFireOnceNow
If true, the first expired scheduler job will start immediately, but only one of the pool. The rest in the context of the scheduler are canceled. If false, standard mechanisms for monitoring the fulfillment of jobs are used.

Glossary Item Box

Scheduling a job to start the process at a certain interval.

Syntax

 
C#
 
 

Parameters

jobName
Job name.
jobGroup
The name of the group that the job belongs to.
processName
Process name.
workspaceName
The workspace in which the process should be started.
userName
The user on behalf of which the process will be started.
periodInMinutes
The interval of starting the process in minutes.
parameters
Parameters that will be passed to the process.
isSystemUser
A flag of the system user. If true, the job will run on behalf of the user name from the "System operations user" system setting.
useMisfireInstructionFireOnceNow
If true, the first expired scheduler job will start immediately, but only one of the pool. The rest in the context of the scheduler are canceled. If false, standard mechanisms for monitoring the fulfillment of jobs are used.

Exceptions

ExceptionDescription
System.ArgumentExceptionIf the empty string or null value is passed as the jobName, jobGroup, processName, workspaceName and userName parameters.

Remarks

If the job with the jobName name and the trigger of the CalendarIntervalTriggerImpl type already exists in the jobGroup group, it will be refreshed, otherwise it will be recreated.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.