Skip to content

Run cron job every 5 minutes on GoDaddy shared server

edited March 2013 in Questions
GoDaddy's cron job interface indicates that they can only be run hourly, daily, or weekly. Doesn't seem to be a way to run them every minute or every five minutes. Has anyone else encountered this?

Comments

  • BenBen
    edited February 2014

    You can run a "every 5 minutes" cron job on GoDaddy's shared server by doing this:

    Create 6 jobs, each one occurs twice an hour: 00-30, 05-35, 10-40, 15-45, 20-50, 25-55.

    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


    Example of the first cron job


    Make sure it says 'Enabled' under the 'Status' column, otherwise please enable your cron jobs

This discussion has been closed.