Cron job has been running last time at 10/04/2010 20:58:14, it is more than 24 hours

Discussion in 'Troubleshooting' started by vacc_webmaster, Nov 2, 2010.

  1. vacc_webmaster

    vacc_webmaster Member

    Joined:
    Jan 24, 2007
    Messages:
    51
    When I open the Admin portal of amember the following is received:

    Cron job has been running last time at 10/04/2010 20:58:14, it is more than 24 hours before.
    Most possible external cron job has been set incorrectly. It may cause very serious problems with the script

    What is the likely cause of this error and how can I get the nasty read alert off the page?

    Thanks for any advice you could provide!
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
  3. vacc_webmaster

    vacc_webmaster Member

    Joined:
    Jan 24, 2007
    Messages:
    51
    Ah dang. I'm sorry for my stupid post. I got it working to get rid of that nasty huge red error on the admin page. Thanks
  4. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @vacc_webmaster: Glad to hear you got it resolved. In case others run into the same issue and come across this post, can you follow up on what the issue was and how you fixed it?
  5. sunseapromos

    sunseapromos Member

    Joined:
    Apr 26, 2010
    Messages:
    72
    Hi - I had this same error message. I fixed the problem of it running less than every 24 hours by logging in to my cPanel and resetting the settings from what was specified in the manual which is:

    Minute = 0
    Hour = * (every hour)
    Day = * (means every day)
    Month = *
    Weekday = *

    to:

    Minute = 0
    Hour = 0
    Day = * (means every day)
    Month = *
    Weekday = *

    This stopped it from occurring too often as per my cron email reports, but the red error message is still on my admin page????

    How do we reset that so it goes away?

    Also, I am getting the following message in my emailed cron reports:
    /bin/sh: /user/bin/lynx: No such file or directory

    So I am going to try the alternate command line(s) as per the manual which are:
    /usr/bin/curl -s http://yoursite.com/amember/cron.php
    /usr/bin/wget -o/dev/null -O- http://yoursite.com/amember/cron.php
    /usr/local/bin/lynx -source http://yoursite.com/amember/cron.php
    /usr/local/bin/curl -s http://yoursite.com/amember/cron.php
    /usr/local/bin/wget -o/dev/null -O- http://yoursite.com/amember/cron.php

    Do we use all of these or just pick one???? :confused:

    Thank you. :)
    Claudia Beck
  6. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    To get rid of the message right away, you can visit your cron manually at:

    http://yoursite.com/amember/cron.php

    Regarding which one to use, it really varies from host to host.. could email your host support and ask which format they use for the quickest answer.
  7. jaycee1981

    jaycee1981 New Member

    Joined:
    Aug 23, 2011
    Messages:
    25
    Hello!

    I've got the red warning message too! But I don't get any errors in mails or somewhere else, just the red warning. I tried to make a cron job on my cp panel (Im on DREAMHOST) but couldn't make it because i couldn't add a user. External cron job is CHECKED in advanced.

    What should i do?
  8. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Do you process credit cards locally or handle recurring payments, if not just set it to internal.
  9. rsigcourses

    rsigcourses Member

    Joined:
    Mar 8, 2011
    Messages:
    46
    You can add the cron to your customers area here at amember.
  10. jaycee1981

    jaycee1981 New Member

    Joined:
    Aug 23, 2011
    Messages:
    25
    Okay I've managed to do a cron job on my host (dreamhost) and it's active now, but still get red error message.


    Sorry, I don't understand:confused:


    And this http://www.takethatfansite.com/amember/cron.php is an empty blank page
  11. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    It should be blank.
    If you still get an error, this means that cron does not work and command you used is not correct.
    Try to use another command for cron or set cron job from your account at amember.com

Share This Page