sorry for the silly question. Briefly I have a wp (v. 3.5.1) blog using a heavily modified (by myself) theme. Everything works fine except for wp-cron. Listed jobs appears in (for instance) crontrol and time passes until they come to “now” (which means that the job should start). Anyway nothing happens: scheduled post freeze at “now”, my custom functions freeze at “now” and so on. Everything works if I manually run it (so no code problems). I tried to disable wp-cron (with
define('DISABLE_WP_CRON', true);
and set up a custom wp-cron (with its crontab entry) but without success. Finally I get the following error message:
There was a problem spawning a call to the WP-Cron system on your site. This means WP-Cron jobs on your site may not work. The problem was:
connect() timed out!
which disappear if I set define('ALTERNATE_WP_CRON',true);
.
Thanks in advance for the help…
Mmmh, some progress: I’m able to activate wp-cron by browser (not really clear, because I have a white screen…): anyway, if I browse wp-cron, jobs are correctly executed and rescheduled… Now I have to understand why crontab do not work…