AddScheduledJob Method
Adds a scheduled job with given execution date and frequency.
Required Permissions
JobQueueAddSyntax
public SchedJob AddScheduledJob(
System.string type,
System.string desc,
JobParam[] paramArray,
System.int priority,
System.DateTime execDate,
System.int execFreqInMinutes
)Public Function AddScheduledJob( _
ByVal type As System.String, _
ByVal desc As System.String, _
ByVal paramArray() As JobParam, _
ByVal priority As System.Integer, _
ByVal execDate As System.Date, _
ByVal execFreqInMinutes As System.Integer _
) As SchedJobParameters
| Name | Description |
|---|---|
| type | The type of job to add. |
| desc | A description of the job. |
| paramArray | An array of parameters for the job. |
| priority | The priority of the job. A lower number means a higher priority. 1 is the lowest possible number. |
| execDate | The DateTime at which the job is first scheduled (can be DateTime.Now). |
| execFreqInMinutes | The frequency in minutes at which to schedule the job (e.g. 1440 minutes = daily). |
Return Value
The new SchedJob object.