Cronjob help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smartcard
    Junior Member
    • Mar 2004
    • 11

    #1

    Cronjob help

    Hello, for one of my clients script need to add a Cron job, and following is the method the script author is suggestions. My question is what will be the exact command line suitable for Dathorn server? I am confused of the $HOME line


    If you *can* create a crontab on your web host, then the best thing to
    do is to create a cron job that will run update-feeds.php through the
    PHP command-line interface. For example, if you have WordPress installed
    in `~/www/wp` (where ~ is your home directory), you might insert the
    following line into your crontab:

    25 * * * * cd $HOME/www/wp/wp-content ; php -q update-feeds.php
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    /usr/local/bin/php /home/**USER**/public_html/wp/wp-content/update-feeds.php

    Comment

    Working...