How do I set up a cron job on cpanel

Discussion in 'Site & Server Administration' started by amedno1, Oct 11, 2006.

  1. #1
    Im in need of some help, I wanna install an autoresponder script and it asks me to set up a cron job. I went to the cron jobs button on cpanel and I don't know what to type as a command? the setup file is of no help here is what it says

     
    amedno1, Oct 11, 2006 IP
  2. edD

    edD Peon

    Messages:
    146
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Choose the standard option for cron managment
    -----------

    for every fifteen minutes:

    minutes: 15
    hours: every hour
    days: every day
    months: every month
    weekdays: every weekday


    for every 12 hours:
    minutes: 0
    hours: midnight and noon ( or choose two others that are 12 hours apart)
    days: every day
    months: every month
    weekdays: every weekday

    for every 60 minutes:
    minutes: 0
    hours: every hour
    days: every day
    months: every month
    weekdays: every weekday

    in the "command to run" box type something like:
    /usr/local/bin/php /home/username/path/to/cron.php

    Make sure there is a space between the two paths. The path after the space is the path to the file that you want to run. Make one each for cron.php, cron_bounce.php and cron_responder.php.
     
    edD, Oct 11, 2006 IP