Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
NSC | Can You Stop a Running Scheduled Script in NetSuite?
Scenario
An administrator notices that a Scheduled Script is consuming processing time continuously and needs to be stopped immediately. Typical troubleshooting attempts may include:
- Undeploying the script deployment
- Changing the deployment status
- Deleting the deployment record
- Removing the SuiteScript file from the File Cabinet
However, NetSuite may return errors indicating that the script is currently processing and cannot be modified.
This behavior can be unexpected for administrators who assume disabling the deployment will immediately stop the execution.
Solution
For SuiteScript 2.x Scheduled Scripts, undeploying or disabling the deployment does not stop the current execution. It only prevents future executions from starting. A running script must either:
0
