context.InvocationType
Enum Description |
An enumeration that lists the string values for scheduled script execution contexts. |
Module |
|
Since |
2015.2 |
Values
SCHEDULED |
Normal execution based on the deployment options you set in the UI. |
ON_DEMAND |
The script runs when another script calls it with ScheduledScriptTask.submit().
Note:
The scheduled script must be set to Not Scheduled on the Script Deployment page. |
USER_INTERFACE |
The script runs from the UI when you click the Save & Execute button. |
ABORTED |
The script runs again automatically if the system went down during its execution. |
SKIPPED |
The script runs automatically after downtime if it missed its scheduled time. |