PyITask Object
Python object that encapsulates the ITask interface, inherits all the methods of PyIScheduledWorkItem
Methods
- SetApplicationName
- Specify which program the task will run
- GetApplicationName
- Retrieve name of program that task will run
- SetParameters
- Sets command line parameters
- GetParameters
- Returns command line parameters for task
- SetWorkingDirectory
- Sets initial working directory for task
- GetWorkingDirectory
- Return working directory that the task will start out in
- SetPriority
- Sets priority for task
- GetPriority
- Gets priority that will be assigned to process when task starts
- SetTaskFlags
- Sets flag for task
- GetTaskFlags
- Retrieve task flags (None currently defined)
- SetMaxRunTime
- Sets maximun run time for task, use -1 to disable
- GetMaxRunTime
- Returns maximun run time for task