GAE任务队列 - 是否有办法延迟任务执行X秒 [英] GAE Task Queue - Is there a way to delay a task from executing for X seconds

查看:112
本文介绍了GAE任务队列 - 是否有办法延迟任务执行X秒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  • 有没有办法保证在X分钟内(或者在X分钟后)执行任务? (费率意味着任务之间的时间间隔,但第一个任务的情况如何,第一个任务是否会在'费率'时间之后开始?)

  • Is there a way to guarantee a task to be performed in X minutes (or after X min) ? (rate would mean the intervals between tasks but what about the first task, would the first task starts after the 'rate' time?)

推荐答案

如果您的意思是至少X分钟后,那么请使用任务队列API

If you mean 'at least X minutes from now', yes - use the task queue API.

这篇关于GAE任务队列 - 是否有办法延迟任务执行X秒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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