Cron job does not work!
Reported by Yoboy | August 7th, 2008 @ 12:28 PM
I have tried and tried to get the automatic cron job to work with wp-o-matic with NO LUCK! Any help would be fantastic. I am using WP-o-Matic 1.0RC4-6. I have setup the campaigns and it tells me to run the cron to add the line - http://www.{mydomain}.com/blog/wp-content/plugins/wp-o-matic/cron.php?code=ad4f3f12
I have done all this. When I run this from my cron it tells me file cannot be found. When I run it from a browser is seems to run fine by returning a blank page. The only issue is that the CRON never ran, even when I directly access it does not update the last active date in the control panel.
If I remove the code= from the end of the url, I thought I would get an error, but I don't. Same white page.
How can I fix this? HELP!!! Thank you.
Comments and changes to this ticket
-
Yoboy August 7th, 2008 @ 12:38 PM
Okay, now when I run the cron manually it tells me "Running cron job". When i check the log it says the same thing, but nothing updated and the last process campaigns date/time didn't change. If I hit the Fetch for the campaign, it appears to work fine. Here are the logs after hitting fetch -
August 7, 8:36:07 am - No new posts
August 7, 8:36:06 am - No new posts
August 7, 8:36:06 am - Processing feed Travel Alerts (ID: 2)
August 7, 8:36:05 am - Processing campaign Travel Warnings (ID: 1)
August 7, 8:36:05 am - Processing feed Travel Warnings (ID: 1)
How do I get the Cron to do this automatically??
-
Sascha August 19th, 2008 @ 04:36 AM
In wpomatic.php I changed line 447
$campaigns = $this->getCampaigns('unparsed=1');
to this
$campaigns = $this->getCampaigns();
Crons work fine now.
Regards, Sascha=
-
Mark August 29th, 2008 @ 07:44 AM
- Tag set to cron, defect, wp-o-matic
I have the same issue, I'll change the code and report back if things still don't work.
-
Ricardo Rauch April 15th, 2010 @ 08:50 AM
- Assigned user changed from Guillermo Rauch to Ricardo Rauch
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
WP-o-Matic project.