一天使用太多计算机时间的服务 [英] Service using too much computer time for one day

查看:67
本文介绍了一天使用太多计算机时间的服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这表明脚本超过了一天的总允许执行时间.最常见的情况是在触发器上运行的脚本,其每日限制低于手动执行的脚本.据我所知,每天的限制是6个小时.我的脚本都没有运行那么长时间.

This indicates that the script exceeded the total allowable execution time for one day. It most commonly occurs for scripts that run on a trigger, which have a lower daily limit than scripts executed manually. The limit as far as I am aware is 6 hours per day. None of my scripts run for that long.

之前一切都很好.在过去的3-4天内,所有脚本突然开始失败.我不知道发生了什么事.我唯一的预感是我的脚本之一进入了无限循环.但是,即使发生这种情况,它很快也会失败,并且所有脚本都将无法运行6个小时.

Everything was fine earlier. Suddenly, over the last 3-4 days, all the scripts have started failing. I have no clue what's happening. My only hunch is that one of my scripts is going into an infinite loop. But still, if that happens, it will fail soon and collectively, all scripts would not run for 6 hours.

请帮助解决此问题.我有一个G套件ID,但Google提到我在stackoverflow上获得了帮助,而他们无能为力.

Please help to resolve this issue. I have a G suite id but Google mentioned that I get help at stackoverflow and that they cannot help.

推荐答案

Google Apps脚本管理器.在左侧的菜单栏中,您将看到一个名为My Executions的区域.如果单击该按钮,则可以看到已运行脚本的列表以及运行时间.此页面还允许您按持续时间排序并过滤结果,以希望能帮助您了解发生了什么情况.

The exception message should also tell you a lot about what is happening. If you are not sure which script is causing the issues you can try to go to the Google Apps Script Manager. In the menu bar on the left you will see a section called My Executions. If you click that you can see a list of scripts that ran and how long they ran for. This page also allows you to sort by duration and filter the results to hopefully help you figure out what is going on.

您可能已经已达到配额.拥有Google Suite帐户最多可以使您每天最多触发6个小时的触发器总运行时间.还要确保您没有超出 在"Google服务配额"页面上.

It possible that you have reached your quota. Having a Google Suite account allows you up to 6 hrs/day of Trigger Total Runtime. Also make sure you are not going over the limit on single script runtime as outlined here further down on the Quota For Google Services page.

对于Google Suite帐户,配额为:

For Google Suite Accounts the quota is:

脚本运行时:每次执行6分钟

Script runtime: 6 min/execution

自定义功能运行时:30秒/执行

Custom function runtime: 30 sec/execution

这篇关于一天使用太多计算机时间的服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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