Script Scheduling

37 views
Skip to first unread message

Justin A

unread,
Sep 23, 2015, 11:25:39 AM9/23/15
to AdWords Scripts Forum
Hi There,

I have two questions i was hoping for some help with:

1) I have scheduled a script to run hourly but wondered what is meant by 'hourly' i.e. does the script run on the hour every hour or does it run an hour from when it was first run e.g. first run at 16.20 next run at 17.20. If it is the latter is it possible to set the script to run at an exact hourly interval (e.g. 16:59:50)?

2) If i edit the script whilst it is scheduled does it re run at the time of saving the script?

Many Thanks,

Justin

 


Tyler Sidell (AdWords Scripts Team)

unread,
Sep 23, 2015, 12:26:51 PM9/23/15
to AdWords Scripts Forum
Hi Justin,

I'd be glad to help you with your questions.  If you set a script to run HOURLY, it will run on the hour (8:00PM, then 9:00PM, then 10:00PM, etc).  However, the script takes a while to kick off and will not run exactly on the hour.  It will probably be delayed a few minutes.

If the script is set to HOURLY and you make changes to the script while it is scheduled, make sure to save it before the script kicks off.  If the script is not saved before it is supposed to run at that hour, then the changes won't take effect until the next time it's saved and ran.

Thanks,
Tyler Sidell
AdWords Scripts Team

Justin A

unread,
Sep 24, 2015, 3:54:47 AM9/24/15
to AdWords Scripts Forum
Hi Tyler,

Thanks for your response. Having set my schedule off Hourly yesterday at 17.51 it has now run over night. However it now runs at for twenty to the hour (e.g. 08.40, 9.40, 10.40 etc.). Can you explain what is going on? I was under the impression if i set it of at 17.51 then it may run around 17.55.

Many Thanks,

Justin





 

Tyler Sidell (AdWords Scripts Team)

unread,
Sep 24, 2015, 12:25:36 PM9/24/15
to AdWords Scripts Forum
Hi Justin,

It takes a while for the script to kick off.  For certain, if you set the scripts to run HOURLY these scripts will run sometime within that hour and may not be not exactly on the hour.  It will run at the same time within the hour but the exact time is not configurable.

Thanks,
Tyler Sidell
AdWords Scripts Team

Reply all
Reply to author
Forward
0 new messages