Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WHM Autopilot CRON Setup

Discussion in 'General Discussion' started by Toniee, Oct 5, 2005.

  1. Toniee

    Toniee Registered

    Joined:
    Oct 5, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    I'm trying to setup cron for required actions for WHM Autopilot. How do I add these in the Advance Mode?

    Will run daily at 12:15 AM:
    15 0 * * * GET http://mydomain.net/autopilot/admin/cron_1215.php > /dev/null

    Will run daily, every 8 hours:
    0 */8 * * * GET http://mydomain.net/autopilot/admin/cron_resolver.php > /dev/null

    Will run weekly on Fridays:
    5 0 * * 6 GET http://mydomain.net/autopilot/admin/cron_weekly_sales.php > /dev/null

    Will run on the first of the month:
    0 0 29 * * GET http://mydomain.net/autopilot/admin/cron_reports_new_monthly_signups.php > /dev/null

    0 0 29 * * GET http://mydomain.net/autopilot/admin/cron_reports_monthly_revenue.php> /dev/null


    Am I doing it correctly by doing this?
    (Using this example: 15 0 * * * GET http://mydomain.net/autopilot/admin/cron_1215.php > /dev/null)

    Minute | Hour | Day | Month | Weekday | Command
    15 | 0 | 0 | * | * | GET http://mydomain.net/autopilot/admin/cron_1215.php > /dev/null

    Is that correct, in those following slots?

    Thanks
     
    #1 Toniee, Oct 5, 2005
    Last edited: Oct 5, 2005
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    It would probably be easier for you to enable shell access for the account that you want to run those on and login via SSH and edit the crontab file using:

    crontab -e

    You can then simply paste all those entries directly from the information you were given.
     
  3. eglwolf

    eglwolf Well-Known Member

    Joined:
    Jan 1, 2004
    Messages:
    187
    Likes Received:
    0
    Trophy Points:
    166
    Instead try this from the advanced screen:

    15 0 * * * php /home/username/public_html/autopilot/admin/cron_1215.php > /dev/null

    0 */8 * * * php /home/username/public_html/autopilot/admin/cron_resolver.php > /dev/null

    5 0 * * 6 php /home/username/public_html/admin...eekly_sales.php > /dev/null

    0 0 29 * * php /home/username/public_html/autopilot/admin...hly_signups.php > /dev/null

    0 0 29 * * php /home/username/public_html/autopilot/admin/cron_reports_monthly_revenue.php> /dev/null

    **NOTE: you need the full path, so the admin...eekly_sales.php needs to actually be the path and file name.
     
Loading...

Share This Page