![]() |
Wordpress scheduled operations
(sorry for my bad english... i'll try explain the problem at my best...)
I have a trouble with any WP installation i do in ISPConfig. I've tried on thw different ISPConfig, one Ubuntu 11.10 based and other CentOS 5.5 based, following the Perfect Server documents. I'm not a coder, but i think i understood WP don't use any cron job for schedule post publishing and other scheduled functions like a scheduled db backup via many plugins. Wordpress use a special function, called wp_schedule_event like this: Quote:
I've used as user many other panels in the past, and i can say that in cPanel and Plesk the problem doesn't exists. Someone can help me, pls? |
Quote:
Which PHP mode have you used for the website? CMS systems like wordpress require php-fcgi and suexec must be switched on in the site settings. Beside that, make sure that the files and folders in the web directory are owned by the web user and client group of this website. |
Quote:
Quote:
I think the files ownership is ok: Code:
root@server01:/var/www/clients/client1/web1/web# ll |
The ownerships are ok. Please switch from suphp to fastcgi.
|
Quote:
http://dl.dropbox.com/u/1174908/ispconfig_site.jpg http://dl.dropbox.com/u/1174908/wp-i...g-schedule.jpg |
1) Have you waited long enough? A switch in the config takes at least 1 minute.
2) Are there enough pageviews on the website in the meantime, as the cron gets only executed in wordpress if there is a pageview. 3) Do you use any caching plugins in wordpress? As plugins like w3totalcache and other plugins that use a .htaccess redirect to temporary created html files can prevent that the wordpress cron work. |
Quote:
Quote:
Quote:
Is there something similar to a fgci or suphp log? |
Everything is logged to the apache access and error log, you find them in the log directory of the website.
|
The error.log seems ok:
Code:
[Thu Oct 27 10:14:30 2011] [error] [client 93.63.146.178] File does not exist: /var/www/skyflashtest.biz/web/favicon.icoHere i edited and scheduled the post: Code:
93.63.146.178 - - [27/Oct/2011:10:30:31 +0200] "POST /wp-admin/post.php HTTP/1.1" 302 20 "http://skyflashtest.biz/wp-admin/post.php?post=5&action=edit" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1"Code:
93.63.146.178 - - [27/Oct/2011:10:30:32 +0200] "GET /wp-admin/admin-ajax.php?action=oembed-cache&post=5 HTTP/1.1" 200 21 "http://skyflashtest.biz/wp-admin/post.php?post=5&action=edit&message=1" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1" |
Please check that this value is not set in wp-config.php or that its set to false:
define('DISABLE_WP_CRON', true); If its set to true, the internal cron in wordpress is disabled. another problem can be the max php memory size or max execution time. You can try to increase them in the cgi php.ini file and then restart apache. |
| All times are GMT +2. The time now is 10:06. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.