Godaddy cron job setup for running php script

后端 未结 10 2242
生来不讨喜
生来不讨喜 2021-02-03 13:30

can you help me setup cron job on godaddy webhosting? I have php file that i need to run, it is located in cron subdirectory (so address is http://test.com/cron/file.php). What

10条回答
  •  旧巷少年郎
    2021-02-03 13:45

    Your cron job command should look something like the following (unless your directory structure is different of course):

    /web/cgi-bin/php5 "$HOME/html/sendy/scheduled.php" > /dev/null 2>&1
    

    Regrads,

    shahana

提交回复
热议问题