2013-03-07 142 views

回答

2

如果您的系统上有curl可用,您可以安排它来ping URL。 使用crontab -e编辑cron表并创建一个新条目。例如,这将在午夜每天ping网址。

0 0 * * * /usr/bin/curl --silent http://your-server.com/index.php/invoices/cron/recur/your-cron-key-here &>/dev/null 
+0

完美答案!正在寻找同样的东西 - 这很有魅力! – 2014-05-25 05:36:41