Autodesk Vault ProfessionalVault API

AddScheduledJob Method

Autodesk.Connectivity.WebServicesJobService

Adds a scheduled job with given execution date and frequency.

Required Permissions

JobQueueAdd

Syntax

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 SchedJob

Parameters

NameDescription
typeThe type of job to add.
descA description of the job.
paramArrayAn array of parameters for the job.
priorityThe priority of the job. A lower number means a higher priority. 1 is the lowest possible number.
execDateThe DateTime at which the job is first scheduled (can be DateTime.Now).
execFreqInMinutesThe frequency in minutes at which to schedule the job (e.g. 1440 minutes = daily).

Return Value

The new SchedJob object.

See Also