Scheduled Script Deployment Record
Before you can submit a scheduled script instance to SuiteCloud Processors, you must first create at least one deployment record for the script.
Body Fields
Field |
Description |
---|---|
Script |
A link to the script record associated with the deployment
Note:
This value cannot be changed, even on a new deployment record. If you begin the process of creating a deployment and realize that you have selected the wrong script record, you must start the process over. |
Title |
The user-defined name for the deployment |
ID |
A unique identifier for the deployment:
Note:
For both custom and system-defined IDs, the system appends the string “customdeploy” to the ID. Although not preferred, you can edit this value on an existing deployment. To do this, click Edit on the deployment record. Then click Change ID. |
Deployed |
Indicates whether the deployment is active. This box must be checked if you want your script to execute. If you don't check the box:
|
Status |
This value determines how and when a script can be submitted to SuiteCloud Processors for processing. Possible options are:
See Scheduled Script Submission for a table that compares scheduled script submissions to the Status value. |
See Instances |
A link to the Scheduled Script Status Page, filtered for all deployment instances of the script associated with this particular deployment. |
Log Level |
This value determines the information logged for this deployment. Entries are displayed on the Execution Log subtab. Possible options are:
|
Execute as Role |
For scheduled script deployments, this value is automatically set to Administrator and cannot be edited. |
Priority |
This value impacts when the SuiteCloud Processors scheduler sends the scheduled script job to the processor pool. By default, this field is set to Standard. For additional information, see SuiteCloud Processors Priority Levels
Note:
Each SuiteScript 2.x scheduled script instance is handled by a single job within SuiteCloud Processors.
Important:
You must understand SuiteCloud Processors before you change this setting. Possible options are:
|
Queue (Deprecated) |
This field is deprecated with the introduction of SuiteCloud Processors. After you click Remove Queue, it no longer displays on the deployment record. |
Schedule Subtab
Note that the Schedule subtab is available regardless of the option selected as the Status.
Field |
Description |
---|---|
Single Event |
The scheduled script task is submitted only one time. Use this option if you want to schedule a future one time submission. |
Daily Event |
The scheduled script task is submitted every x number of days. If you schedule the submission to recur every x minutes or hours, the schedule will start over on the next scheduled day. For example, your deployment is set to submit daily, starting at 3:00 am and recurring every five hours. A scheduled script instance is submitted at 3:00 am, 8:00 am, 1:00 pm, 6:00 pm, and 11:00 pm. At midnight, the schedule starts over and the next submission is at 3:00 am. |
Weekly Event |
The scheduled script instance is submitted at least one time per scheduled week. If you schedule the submission to recur every x minutes or hours, the schedule will start over on the next scheduled day. For example, your deployment is set to submit on Tuesday and Wednesday, starting at 3:00 am and recurring every five hours. A scheduled script instance is submitted on Tuesday at 3:00 am, 8:00 am, 1:00 pm, 6:00 pm, and 11:00 pm. On Wednesday, the schedule starts over and the next submission is at 3:00 am. |
Monthly Event |
The scheduled script instance is submitted at least one time per scheduled month. |
Yearly Event |
The scheduled script instance is submitted at least one time per year. |
Start Date |
The first submission occurs on this date. This field is required if a one time or recurring schedule is set. |
Start Time |
If a value is selected, the first submission occurs at the specified time. The time displayed when viewing the deployement is the time zone of the last user who edited the script deployment, based on that user's setting in Home > Set Preferences. When editing the script deployment, the time will update to the time zone of the current user. For example, user A is in (GMT -8:00) Pacfic Time (US & Canada) and creates the script deployment with a start time of 8:00 am. User B edits the script deployment and has a time zone set to (GMT -5:00) Eastern Time (US & Canada). Even if User B does not change the start time, the time will now display User B's time zone for all users, 11:00 am. |
Repeat |
If a value is selected, the first submission occurs on the date and time selected. A new script instance is then created and submitted every x minutes or hours until the end of the start date. If applicable, the schedule starts over on the next scheduled day. For example, your deployment is set to submit on Tuesday and Wednesday, starting at 3:00 pm and recurring every five hours. A scheduled script instance is submitted on Tuesday at 3:00 pm and 8:00 pm. On Wednesday, the schedule starts over and the next submission is at 3:00 pm. |
End By |
If a value is entered, the last submission occurs on this date. If you schedule the submission to recur every x minutes or hours, a new script instance is created and submitted every x minutes or hours until the end of the end date . |
No End Date |
The schedule does not have a set end date. |