Cronjob with wordpress

Discussion in 'General' started by abintipl, Aug 21, 2012.

  1. abintipl

    abintipl New Member

    Hello,

    I have Debian Server with Ispconfig latest version

    I have to run cron job which I have set as under under sites>cron;

    /usr/bin/wget -q http://mydomain.com/wp-cron.php

    How & where can I can check if my cron is running or not?

    Regards,

    Abin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The url cron is entered wrong. Edi the the cronjob, select "URL cron" as cronjob type and then enetr just "http://mydomain.com/wp-cron.php" into the command field and click on save.
     
  3. abintipl

    abintipl New Member

    Cron

    Dear Sir,

    Thank you for reply

    I have corrected as per your instructions and request you if you could advice How to check if cron is running

    Another thing I have noticed my server is getting overloaded

    any tail command please

    Thanks & regards,

    Abin
     
  4. abintipl

    abintipl New Member

    Cron

    Sir,

    Further to my previous reply, I can see some errors

    root@server1:/var/log/ispconfig/httpd/mydomain.com#

    vi error.log

    output

    [Tue Aug 21 17:19:31 2012] [warn] [client xxx.xxx.xx.xxx] mod_fcgid: stderr: PHP
    Fatal error: require(): Failed opening required '/var/www/clients/client1/web1/web/project/wp-includes/load.php' (include_path='.:/usr/share
    /php:/usr/share/pear') in /var/www/clients/client1/web1/web/proje
    ct/wp-settings.php on line 21
    ~

    I really have no clue, why is this

    I did change

    root@server1:/etc/apache2/mods-available#

    vi fcgid.conf

    output is as under;
    <IfModule mod_fcgid.c>
    AddHandler fcgid-script .fcgi
    IdleTimeout 60
    DefaultMinClassProcessCount 100
    FcgidConnectTimeout 60
    IPCCommTimeout 60

    PHP_Fix_Pathinfo_Enable 1
    MaxRequestLen 18728640
    </IfModule>

    Your help would really be appreciated

    Thanks & regards,

    Abin
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Does /var/www/clients/client1/web1/web/project/wp-includes/load.php exist?
     

Share This Page