HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Cronjob with wordpress (http://www.howtoforge.com/forums/showthread.php?t=58329)

abintipl 21st August 2012 10:59

Cronjob with wordpress
 
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

till 21st August 2012 15:07

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.

abintipl 21st August 2012 19:19

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

abintipl 21st August 2012 19:30

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

falko 22nd August 2012 18:29

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


All times are GMT +2. The time now is 20:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.