Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
Now, you can stay up-to-date with the latest discussions, helpful tips, and important announcements, all delivered straight to your inbox. Whether you’re looking to catch up on what you missed or just want a quick overview, our email digest has you covered. To learn more and to subscribe, click here.
Script Execution Time Limits
According to this page:
NetSuite Applications Suite - Script Execution Time Limits (oracle.com)
A scheduled script should be able to run for 3600 seconds = 1 hour
I have a complicated search that I am unable to run in a Suitelet because it kept timing out (Suitelets are listed at 300 seconds = 5 minutes).
However, my Scheduled Script is also timing out. Looking at the error in detail, it is:
{"type":"error.SuiteScriptError","name":"ABORT_SEARCH_EXCEEDED_MAX_TIME","message":"This search has timed out. You can choose to schedule it to run in the background and have the results emailed to you when complete. On the saved search form, click the \"Email\" tab, check \"Send According to Schedule\", choose an email address on the \"Specific Recipients\" subtab and a recurrence pattern on the \"Schedule\" subtab.","stack":["createError(N/error)","execute(/SuiteScripts/ManagementAccountsKPI22Email.js:4325)"],"cause":{"type":"internal error","code":"ABORT_SEARCH_EXCEEDED_MAX_TIME","details":"This search has timed out. You can choose to schedule it to run in the background and have the results emailed to you when complete. On the saved search form, click the \"Email\" tab, check \"Send According to Schedule\", choose an email address on