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. Iffalse
, standard mechanisms for monitoring the fulfillment of jobs are used.
Exception | Description |
---|---|
System.ArgumentException | If the empty string or null value is passed as the jobName, jobGroup, processName, workspaceName and userName parameters. |
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.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