CRON job - wow

Discussion in 'Troubleshooting' started by wowologist, Sep 29, 2008.

  1. wowologist

    wowologist New Member

    Joined:
    Sep 29, 2008
    Messages:
    3
    :eek:We have installed and am still in the trial and error with amember and I must say - is it a very nice program which once all is finalized I'm sure we will "spead the good word on it" to as many people as we can find!

    However the one (and only thing) that has caused major headaches is this CRON JOB thing...

    So, alas... back to the post :)

    After trying every possible combination of suggestions in the manual for the CRON job - none worked on the host we have (site5.com) - so we have one of the suggested " web based crons" running - but we get this in our internal Error/Debug log:

    09/29/2008 21:30:12 /cron.php xx.52.xxx.56 DEBUG (CRON OUTPUT):
    .
    09/29/2008 20:30:12 /cron.php xx.52.xxx.56 DEBUG (CRON OUTPUT):
    .
    09/29/2008 19:51:02 /cron.php xx.52.xxx.56 DEBUG (CRON OUTPUT):
    .
    (xx's added to protect the innocent ofcourse!)

    Is that something standard - or is thier something still wrong?

    The loc of the cron.php is accessible from the web at:

    secure.wowologist.com/cron.php - and as stated this file displays nothing when accessed from a we browser.

    Joe
    wowologist.com
    peer2peer virtual ecommerce for WoW
  2. bydomino

    bydomino New Member

    Joined:
    Dec 20, 2007
    Messages:
    1
    Im seeing the SAME THING after upgrading from 3.09
    I also have this on the main page

    WARNING: If you are using recurring billing and credit cards are stored on your server (ex.:Authorize.Net AIM, LinkPoint), make sure you have configured cron jobs to be running hourly (not DAILY!) as described in the manual.

    ITS SET TO HOURLY though!?

    So im not sure what the deal is.
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    It is just a notice for all clients and nothing personal about your website. If you have set cron hourly, it is OK. This just cannot be automatically detected.
  4. josh1972

    josh1972 New Member

    Joined:
    Nov 26, 2007
    Messages:
    8
    I think what they mean is not the notice about, "set your cron jobs hourly". It's this logged error message which I am also getting every hour after the upgrade:

    Time URL Remote IP Message
    10/06/2008 03:30:02 /amember/cron.php xx.202.xxx.193 DEBUG (CRON OUTPUT):


    Why hourly error messages from the CRON jobs and what does it mean? I'm kind of relieved I'm not the only one.
  5. josh1972

    josh1972 New Member

    Joined:
    Nov 26, 2007
    Messages:
    8
    Time URL Remote IP Message
    10/06/2008 03:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/06/2008 02:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/06/2008 01:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/06/2008 00:30:04 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 23:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 22:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 21:30:08 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 20:30:03 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 19:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 18:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 17:30:03 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 16:30:03 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 15:30:03 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 14:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 13:30:02 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 12:30:07 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
    .
    10/05/2008 11:30:03 /amember/cron.php xx.202.181.193 DEBUG (CRON OUTPUT):
  6. vmpbs

    vmpbs New Member

    Joined:
    Nov 3, 2008
    Messages:
    5
    Hi there everyone, I'm getting something else and wish you could help me out. Thanks to anyone that has something to say about it.
    I'm working with goddady.com as a host and the cron.php was selected with the search button because the strings that they suggest didn't work

    Here's the error message: :confused:

    Cron job has been running last time at 04/11/2008 23:05:02, 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
  7. cookietuner

    cookietuner New Member

    Joined:
    Dec 14, 2008
    Messages:
    2
    CRON Error message...need help.

    I get that same message. I don't know what to do. Can't get an answer from the help desk.
  8. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    that error message mean that cron job is not working. If you didn't configure it yet, you should do this in your hosting CP (instructions depends on Control Panel that your host use)
    If you configured it already but still get an error message, possible command that was used is not supported by your hosting, so you need to contact hosting support and ask what command can be used.
  9. jbround39

    jbround39 aMember Pro Customer

    Joined:
    Mar 20, 2008
    Messages:
    61
    So I'm not sure I see any conclusion on this here. I'm getting the DEBUG (CRON OUTPUT): .. written to my error log hourly now that I upgraded to 3.1.9.

    Is this completely normal? Any way to shut off the debug so it doesn't record this?
  10. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Debug should be stored in last version. There is no need to disable it.
  11. bostonmember

    bostonmember New Member

    Joined:
    Jul 6, 2010
    Messages:
    7
    I get this same exact message (with adjusted dates and times, of course) and am still unclear what it means after reading the responses here.

    Is aMember telling me "You need to set up a cron job in order for me to work"

    OR...

    "There is a cron job currently running in your hosting panel I don't like. Please fix or delete it."

    I only have one cron job set up in my hosting panel and it is totally unrelated to aMember.

    What is this error telling me?
  12. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
  13. bostonmember

    bostonmember New Member

    Joined:
    Jul 6, 2010
    Messages:
    7
    Thank you very much. I set it up successfully it looks like and the error message has gone away.
  14. ddcat

    ddcat New Member

    Joined:
    Jul 28, 2010
    Messages:
    14
    I have followed the intruction on setting up a Cron job at http://manual.amember.com/Setup_a_Cron_Job
    And it is setup correctly on my server. I am getting the following error message now. Not sure what to do?
    Amember control panel
    "Cron job has been running last time at 09/17/2010 14:00:41, 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"

    This is the email. I am also getting.
    This is an automatically created email, sent to inform you that your scheduled task has completed. Here are the results of the execution of your task:

    Task Started at Mon Sep 20 15:15:01 CDT 2010
    --------------------------------------
    Command to be executed is: /usr/bin/lynx -source/www.mywebsite.com/web/content/ammebers/cron.php
    Task ID of this command is: 40277
    Where should log be written: /usr/bin/lynx -source/www.mywebsite.com/logs


    Unterminated <> operator at /usr/bin/lynx -source /www.mywebsite.com/web/content/amembers/cron.php line 1.

    Not sure how to solve this problem. Please help!!
  15. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Your hosting has made some customization of standard unix enviroment, and replaced real "lynx" program with some broken Perl script. Please contact your webhosting with this message and I believe they will be able to help.
  16. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Also as far as I can see command you use is not correct:
    /usr/bin/lynx -source /www.mywebsite.com/web/content/amembers/cron.php
    You should specify cron.php url and not unix file path:
    /usr/bin/lynx -source http:///www.mywebsite.com/amembers/cron.php
  17. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    Or just use one of the other options (curl, wget) specified in the manual... more reliable.
  18. annaharrison

    annaharrison New Member

    Joined:
    Nov 12, 2010
    Messages:
    1
    thanks alot.....

Share This Page