Cron Job with Hostgator

Discussion in 'Installation' started by epijunky, Dec 14, 2012.

  1. epijunky

    epijunky New Member

    Joined:
    Jan 2, 2011
    Messages:
    2
    Does anyone have any experience setting up the cron jobs in hostgator? I cannot figure out which command to use as well as what path to use it in as my amember is located in the root directory (like this: /sitename/membership) and its on a subdomain as membership.sitename.com

    Any help would really be appreciated!!!
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Have you tried commands listed here:
    http://www.amember.com/docs/Cron

    Also, if you couldn't find exact way, feel free to setup cron job from your amember.com account account.
    You would need to specify your cron script url and that's all.
  3. cindybidar

    cindybidar aMember Pro Customer

    Joined:
    Oct 3, 2012
    Messages:
    12
    I have this working on Hostgator: php /home/ACCOUNTNAME/public_html/members/cron.php

    Where ACCOUNTNAME is your account, and members is the folder in which Amember is installed.

    Hope that helps.
  4. tokazama2

    tokazama2 aMember Pro Customer

    Joined:
    Feb 7, 2013
    Messages:
    54
    I am running PHP 5.3. This is the command line I successfully used with Hostgator:

    PHP:
    /usr/local/bin/php /home1/yourusername/public_html/aMember/cron.php http://yourwebsite.com/amember/cron.php

Share This Page