duanrui3480 2013-12-10 18:49
浏览 32
已采纳

如何通过serversfree中的cron作业执行php脚本?

I tried to make a cron job but it didn't execute the script.

Screenshots here: Add job

Error

What command do I need to execute to make the script execute every 30 minutes?

Thanks

  • 写回答

1条回答 默认 最新

  • dsla94915 2013-12-10 19:12
    关注

    I figured it out, I need to add public_html to the command: php -f /home/u757823165/public_html/cron/save.php

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?