简体   繁体   English

您能否通过升级到 G Suite 商务版将应用脚本执行时间增加到 30 分钟?

[英]Can you increase apps script execution time to 30 minutes by upgrading to G Suite Business?

I have a web app that runs a doGet request.我有一个运行 doGet 请求的网络应用程序。 After upgrading to G Suite Business, this still times out after 6 minutes.升级到 G Suite 商务版后,这仍然会在 6 分钟后超时。

However if I run a standalone script, I can exceed execution time past 6 minutes.但是,如果我运行独立脚本,我的执行时间可能会超过 6 分钟。

The quotas page under Current limitations > Script runtime looks like I should now have access to 30 min executions.当前限制 > 脚本运行时下的配额页面看起来我现在应该可以访问 30 分钟的执行时间。

The app is executed as "Me" and "Anyone, even anonymous" has access to the app.该应用程序以“我”和“任何人,甚至匿名”的身份执行,都可以访问该应用程序。

The WebApp is being used as a trigger to update spreadsheets. WebApp 被用作更新电子表格的触发器。 Once the spreadsheets update, the script then updates my database.一旦电子表格更新,脚本就会更新我的数据库。

Screenshot of Executions Timed Out:执行超时的屏幕截图:

Other notes: I have waited well over the 24 hour period for G Suite account to update, I am a paying customer, and G Suite Customer Service recommended I post here.其他说明:我在 24 小时内一直等待 G Suite 帐户更新,我是付费客户,G Suite 客户服务建议我在这里发帖。

Anyone have any insight on this?有没有人对此有任何见解? Thanks!!!谢谢!!!

Note: This seems not to be the case with OP and the question is not solved.注意:OP似乎不是这种情况,问题没有解决。 The answer is currently left as a possible answer for other users and maybe deleted.答案目前留给其他用户作为可能的答案,可能会被删除。

If the web-app is set to execute as如果网络应用程序设置为执行为

User accessing the web app访问 Web 应用程序的用户

Then quotas applicable for the user(6 minutes) will apply and not the quota applicable for "Me"(30 minutes).然后适用于用户的配额(6 分钟)将适用,而不适用于“我”的配额(30 分钟)。

If it is set to Execute as "Me", Consider browser timeouts.如果设置为以“Me”身份执行,请考虑浏览器超时。 Most browser's timeout is set to 300 seconds.大多数浏览器的超时设置为 300 秒。

Answer:回答:

Updates can take more than 24 hours to go through and you may have to wait until the end of your billing cycle for quota changes to take place.更新可能需要超过 24 小时才能完成,您可能需要等到计费周期结束才能进行配额更改。

More Information:更多信息:

As per the documentation on Quotas for Google Services:根据有关 Google 服务配额的文档:

Note: Newly created G Suite domains are subject to the consumer limit for the first billing cycle if they have six or more users, or several billing cycles if they have fewer users.注意:如果新创建的 G Suite 域有六个或更多用户,则在第一个计费周期内受消费者限制;如果用户较少,则在多个计费周期内。 For more information, see the Help Center page on sending limits .有关更多信息,请参阅有关发送限制的帮助中心页面。

Resultantly, you may have to wait longer than 24 hours.因此,您可能需要等待超过 24 小时。 I would suggest contacting G Suite support again with this information and ask them to clarify when this will be.我建议再次联系 G Suite 支持并提供此信息,并要求他们澄清何时会这样做。

I hope this is helpful to you!我希望这对你有帮助!

References:参考:

Related:有关的:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Apps 脚本:将时间增加 30 分钟 - Apps Script: Increase time by 30 mins 增加脚本执行时间 - Increase script execution time 如何增加 Google Apps 脚本中的 6 分钟执行限制? - How can I increase the 6 minute execution limit in Google Apps script? 是否可以更改文件夹的权限并使用Apps Script(G-Suite)以编程方式移动它? - Can I change permission of a folder and move it programmatically using Apps Script (G-Suite)? 如何为在 Apps 脚本上运行的 G Suite 插件获取 OAuth 刷新令牌? - How can I obtain an OAuth refresh token for a G Suite Add-on running on Apps Script? 应用程序脚本:每次执行增加变量 - apps script: increase variable with each execution 在 G Suite 中使用 JDBC 将 Apps 脚本连接到 SQL 服务器 - Connecting Apps Script to SQL Server with JDBC in G Suite 是否可以将 Google Apps Script Web App 发布到 G Suite Marketplace? - Is it possible to publish a Google Apps Script Web App to G Suite Marketplace? 使用 Google Apps 脚本发送的 G Suite 电子邮件未发送“邮件已阻止” - G Suite Emails Sent with Google Apps Script Are Not Delivered "Message Blocked" 事件保存/更新时的 g-suite Google 日历应用程序脚本 - g-suite Google Calender Apps script On Event Save/Update
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM