我已经指定了一个cron作业(在开发中测试),但它似乎没有运行。如何确保这些工作在生产中能够正常工作?cron.yaml:- description: cron test gathering schedule: every 2 minutes from09:00 to 23:00application: cron_test
version:
我已经设置了一个自定义的WP cron时间表和一个带有该时间表的WP cron事件。我使用PHPStorm进行调试,并在check_mail()钩子中设置了一个断点。断点永远不会命中,但是check_mail()中的代码会被执行,因为我可以在我的日志文件中看到条目(“get to check_mail()!")所有其他断点都工作得很好,check_mail()例程中只有两行代码-日志写入和
在我的快速后端中,我使用节点-cron进行调度,下面是示例。我在index.js中设置了调度配置,并开发了由training.js中的cron执行的函数const training = require('.module.exports={}This is daily scheduling将每天打印两次,因为