如何在 WAMP 等本地服务器中测试 cron 作业?
How to test a cron job in Local Server like WAMP?
Windows 没有 Cron(它是 Linux 系统的主要任务调度程序).Windows 版本是 Task Scheduler.这个问题推荐使用at命令.
Windows doesn't have Cron (it is the main task scheduling program for Linux systems). The Windows version for that is the Task Scheduler. This question recommends using the at command.
因此 Cron 与 Apache、Mysql、PHP 设置没有任何关系我认为不可能可靠地测试您在 Windows 中为 Linux Cron 创建的 cronjobs(也许使用http://www.cygwin.com/" rel="nofollow noreferrer">Cygwin).
So that Cron doesn't have anything to do with the Apache, Mysql, PHP setup I don't think it is possible to reliably test the cronjobs you created for the Linux Cron in windows (maybe with Cygwin).
这篇关于如何在 WAMP 等本地服务器中测试 cron 作业?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!