Recent Topics

1 Aug 05, 2008 20:32    

I've been able to get my blog by email working however I can't seem to get it to pull the posts on its own. I've search the site and forum for help bit so far nothing works.

I use cpanel and set up the cron job using the code exactly as shown in the manual. When that didnt work, I adjusted the command to look for the cron_exec.php from where its located in my www dir and still nothing.

Does anyone have any suggestions? Is there something I've overlooked?

2 Aug 06, 2008 03:46

Just to add more info to hopefully get some help ... I know all my settings as far as blogging by email are correct, because I can run the getmail.php and it processes and pulls the emails beautifully. I can't seem to get the cron job to work.

I've read the manuals and several posts, trying to follow the directions as best as I can.

This is the command I have current:

get -q -O cron_exec.html home/wonder/public_html/blog/cron/cron_exec.php

I tried to set it up originally using the code in the manual, but nothing happened. I then found [url=http://randsco.com/index.php/2005/04/06/posting_via_email]this link[/url] in one of the many posts I've been reading and tinkered with the command in my cron job. Still nothing.

I have this feeling that I need to adjust the code in some file or some such, but I'm just not finding it. :(

Hopefully someone can help.

3 Aug 06, 2008 05:32

I set up a ticket to see if my webhosting provider could assist, and the code they gave me for the cron job was the code I already had. Still can't get it to work.

the code I currently have is:

wget -q -O getmail.html http://www.wonderwench.com/blog/cron/getmail.php
wget -q -O cron_exec.html http://www.wonderwench.com/blog/cron/cron_exec.php

The other code that I tried at first was:

php /home/wonder/public_html/blog/cron/getmail.php
php /home/wonder/public_html/blog/cron/cron_exec.php

Each line being a different cron job. Neither seems to run.

4 Aug 06, 2008 15:56

Do you get an error when the cron job is executed? (you should receive them by e-mail).

What's the content of the get_mail.html or cron_exec.html where you are sending the output of wget?

How often are you running the cron job? Can you post your crontab (output of crontab -l) to see what you have there and see whether there are problems with crontab?

5 Aug 12, 2008 20:49

Can you check the b2/cron directory for an error_log file?

Check this thread:
http://forums.b2evolution.net/viewtopic.php?t=16367

If you can find the error_log see if you are getting this message:

PHP Fatal error: Call to a member function get_Group() on a non-object in /path-to-b2/inc/_core/_param.funcs.php on line 1617

I'm stuck at the same point you are stuck.

6 Aug 13, 2008 22:42

I'm pretty sure that the jobs are just not running because I'm getting nothing -no error messages, etc.

Oh well :(

7 Aug 13, 2008 23:42

Do you have any other cron jobs set up in the same machine?

8 Aug 14, 2008 01:35

I doubt it silently fails. cron logs and it sends mail, unless you tell it not to send mail. In a Cpanel environment it sends the mail to the default user for the domain. In a plain unix environment it sends it to the user that ran the cron job.

9 Sep 15, 2008 18:48

I get..

Fatal error: Call to undefined function timer_stop() in /home/unm/public_html/cron/getmail.php on line 371

Everytime getmail.php is run...


Form is loading...