1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

wp-o-matic cron issue

Discussion in 'Blogging' started by oldguy, Apr 18, 2010.

  1. oldguy

    oldguy Newbie

    Joined:
    Jan 4, 2010
    Messages:
    3
    Likes Received:
    0
    I have a large number of wp-o-matic blogs setup on many different domains, and I am not able to get the unix cron statement to work.

    First I am very familiar with cron and use it all the time. I have crons running for many server processes. I have been doing this for many years.

    Second the pseudo cron (internal to wp-o-matic) works fine, that is what I have been using. However, after a while the multiple executions have started bogging down the server with cpu usage spikes.

    I want to control the executions using unix cron.

    The cron statement doesn't work:

    Code:
    */20 * * * * /usr/bin/curl
     http://www.domain.xxx/wp-content/plugins/wp-o-matic/cron.php?code=xxcodexx
    The webcron ready url doesn't work, either from a command line call (using curl) or in a browser. Just blank, no error messages.

    The wp-o-matic log shows that a cron is being run but there are no results.

    Code:
    http://www.domain.xxx/wp-content/plugins/wp-o-matic/cron.php?code=xxcodexx
    I have read that some tweaks to this cron statement may be needed.

    Any ideas?

    Thanks
    Mike
     
  2. DebtFreeMe

    DebtFreeMe Regular Member

    Joined:
    Mar 14, 2010
    Messages:
    418
    Likes Received:
    363
    Occupation:
    Military
    Location:
    Earth
    Any Luck on getting this fixed? I have the same problem, only I can't get wp-o-matic to work at all. It shows the cron runs but does not give any results, and just keeps putting everything as NEXT! rather than posting anything.

    Anyone have any ideas?
     
  3. geteasymoneynow

    geteasymoneynow Regular Member

    Joined:
    Jan 17, 2010
    Messages:
    336
    Likes Received:
    290
    Occupation:
    Any Thing
    Location:
    With your girlfriend
    I was about to post or ask about this
    I need help with this as well

    anyone have any solution to this?
     
  4. funktrust

    funktrust Regular Member

    Joined:
    Apr 3, 2009
    Messages:
    208
    Likes Received:
    54
    Occupation:
    Cisco Engineer
    Location:
    Sydney
    Have you tried remote cron services to prevent CPU load?

    I know when I had issues with my wp-cron calling to a script each day it would spike hugely. I then now run all my cron jobs remotely without any issues.
     
  5. oldguy

    oldguy Newbie

    Joined:
    Jan 4, 2010
    Messages:
    3
    Likes Received:
    0
    I assume that a remote cron service will allow you to control the timing more exactly, like a unix cron job.

    In order for remote cron services to work, the statement calling cron.php has to work, right?

    If I can't call it in a browser, I don't see how it would work from anywhere.

    Another workaround might be to clean the mysql tables of older posts, that might reduce the cpu load.

    I have posted a bug ticket on wpomatic.lighthouseapp.com, also BTW there is a version 2 due to come out in June.
     
    Last edited: Apr 19, 2010
  6. noermanto

    noermanto Regular Member

    Joined:
    Nov 18, 2009
    Messages:
    305
    Likes Received:
    288
    Occupation:
    None
    Location:
    # JKT #
    Home Page:
    I think the problem is in the wp-o-matic plugin itself. Waiting for next release.
     
  7. Head Master

    Head Master BANNED BANNED

    Joined:
    Aug 14, 2010
    Messages:
    15
    Likes Received:
    1
    xhoose the newest Wprobot 3.0 maybe u can fix ur problem
     
  8. kaooo

    kaooo Junior Member

    Joined:
    Dec 1, 2009
    Messages:
    141
    Likes Received:
    11
    Occupation:
    IT and SEO
    Location:
    root:~#
    Home Page:
    Wprobot 3 is very great I use it for my blogs...
     
  9. FreshlyBlended

    FreshlyBlended Registered Member

    Joined:
    Oct 8, 2009
    Messages:
    84
    Likes Received:
    16
    Run WPO on a separate server to not slow down your site as much. DB will be shared across servers obviously but will reduce some of the load.
     
  10. nosaint

    nosaint Newbie

    Joined:
    Nov 28, 2010
    Messages:
    1
    Likes Received:
    0
    have you found a way to disable the pseudo cron?
    i've been searching for a week now and got no luck. wpomatic developer not answering the mails, nobody knows...
    the problem is that even if i set the unix cron, through cpanel or directly into crontab on the server, the pseudo cron is not disabled and still does hundred of queries at each page load.

    any help is much appreciated.