Has this ever happened to you with scheduled or ma...
# suitescript
e
Has this ever happened to you with scheduled or map/reduce scripts? 1. Have a scheduled script to run from today at a later hour, then repeat every x period. 2. It runs fine. 3. Later, I edit the deployment and change the setting from Scheduled to Not Scheduled, in order to run it manually. Don't touch the rest of the schedule. 4. It runs fine. 5. Later, edit the deployment and change from Not Scheduled to Scheduled again. The rest of the setting are there: the start day and hour (now in the past), the repetition. 6. It doesn't run. 7. Edit the deployment, clear the schedule, setting again with a later hour the same day and save. 8. It runs fine the next time. Is it by design?
e
If the start time for the day had elapsed while it was Not Scheduled, then that Deployment would not run for the rest of the day
2
e
Got it, thanks!
s
Very irritating when making a change!
n
Just create a second non-scheduled deployment, no need to muck about with your scheduled deployment then, you just edit and execute the manual one whenever you need.
🙌 1
e
Good idea!
e
^ This is my standard practice for Scheduled and M/R scripts; I always have at least two deployments, one scheduled and one not
1000 1
💯 1