Cron Error

Discussion in 'Troubleshooting' started by caucus, Nov 8, 2006.

  1. caucus

    caucus Member

    Joined:
    Jan 19, 2006
    Messages:
    45
    Hello Group

    I moved to a new hsoting company and all went well except for the cron.

    I get the following error when it runs:
    /bin/sh: /usr/bin/lynx: Permission denied

    Does the cron.php have to be chmod or something. It worked fine before but not after the move.

    Any and all sugestion would be greatly appreciated.

    /usr/bin/lynx -source http://www.mydoamin.org/membership/cron.php
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    No, your webhosting company just denied usage of /usr/bin/lynx from cron jobs. Please contact them and find out what is correct command line to periodically call an URL from the cron job.
  3. sknollii

    sknollii New Member

    Joined:
    Nov 8, 2006
    Messages:
    10
    I am having the same issue.

    Here is the response from hostgator.com:

    Now I am still not sure what to do with this.

    Any advise?

    Many thanks,

    Sam
  4. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  5. dan_kelly

    dan_kelly New Member

    Joined:
    Aug 29, 2006
    Messages:
    91
    I thought it runs every hour?

    From http://manual.amember.com/Setup_a_Cron_Job
    So, do we need to run it daily or hourly?

Share This Page