RE: Time zone followed for execution of a scheduled script ?

 If a scheduled script deployment schedule is changed by a user , which time zone will the script execute in ? 

I am aware that the time zone the schedule is displayed to the user is the one set in the user preferences . 

Thank you for reading this . Any help is appreciated !

bp Rookie Asked on November 10, 2022 in SuiteScript.

I am curious about the actual answer here as well. I have documented some frustrations with how time zones and scheduled deployments work when deploying via SDF in this github issue: https://github.com/oracle/netsuite-suitecloud-sdk/issues/645. Script Deployments with a scheduled component seem to adjust based on the time zone preference of the user who saved it last.

on November 11, 2022.
Add Comment
1 Answers

Hi bp,

The time zone doesn’t really matter except in displaying the information to the user.

If I’m UTC and set it to run every hour 10:00 until 16:00.

Then if a user in EST logs in they will see every hour 05:00 until 11:00.

In the background, I suspect it’s all stored in PT so hourly from 02:00 until 08:00.

The only bit I’m not 100% sure on is what happens with respect to DST and have never really come across a situation where that is vital.

Thanks,

Chris

Intermediate Answered on November 10, 2022.

Thanks for your reply Chris. NetSuite displays a message while editing the deployment schedule to notify the user that the deployment was created in another time zone. So, I believe time zones do have a bearing on the execution of the script .

on November 10, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.