小程序云开发定时任务可以指定时间吗?

小程序 文章 2021-04-07 11:02 419 0 全屏看文

AI助手支持GPT4.0

小程序云开发定时任务可以指定时间吗?Can I specify the time for the scheduled tasks of applet cloud development?

小程序云开发定时任务可以指定时间吗?

小程序云开发定时任务可以指定时间吗?不是时间间隔!

Can timing task of small program cloud development specify time? It's not a time interval!

回答:

拾忆:

可以啊,看看定时触发器的文档

跨商通:

定时器还是周期性的,无法固定到某天某时;

但是可以在定时器的代码里判断当前时间是否到了某天某时,再决定是否执行任务。

社区技术运营专员-娇华:可以的,建议下次先看下文档确认再答复,https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/functions/triggers.html

-EOF-

AI助手支持GPT4.0