Apps脚本仪表板配额限制中触发器的总体执行时间的含义? [英] Meaning of Trigger Aggregate Execution Time in Apps Script dashboard quota limits?

查看:81
本文介绍了Apps脚本仪表板配额限制中触发器的总体执行时间的含义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码将按照此此帖子中的建议批量处理数据,并且我希望
Apps脚本信息中心

触发器总计执行时间是否指触发事件和用户运行功能的总计运行时间 (通过用户运行功能,即我在开发环境中选择Run-> myFunction)或的总运行时间显式设置触发事件,如 here



在开发环境中选择Run-> myFunction是否有助于触发器Aggregate Execution Time?

解决方案

触发器Aggrega执行时间是从触发器调用的函数的总执行时间。所以,如果你从脚本编辑器中运行一个函数,它不会对这个限制做出贡献,但是如果它是基于基于时间的触发器,onOpen触发器等来运行的,那么它将对极限产生影响。 / p>

My code will process data in batches as recommended in this this post and I wanted to get a clarification of the meaning of "Trigger Aggregate Execution Time" on the Apps Script Dashboard

Does "Trigger Aggregate Execution Time" refer to the aggregate total runtime of triggered events and user run functions(by user run function i.e. I select Run->myFunction in the development environment) or total runtime of explicitly set triggered events as described here?

Does selecting Run->myFunction in the development environment contribute to the "Trigger Aggregate Execution Time"?

解决方案

The Trigger Aggregate Execution Time is the total execution time for functions that were invoked from triggers. So, if you run a function from within the Script Editor, it will not contribute toward that limit, but if it was run based off of a time-based trigger, an onOpen trigger, etc. then it will contribute toward the limit.

这篇关于Apps脚本仪表板配额限制中触发器的总体执行时间的含义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆