42 pointsStarting to get into this DEV thingI'm new here
erealestatemu
Member
—
11th November 2009
Could you please tell me at which point in the process the cron jobs are setup? I had to hard code all my feeds because the interface simply can't handle 60+ feeds (it can't even display more than 20 even if autoblog_table has 60 in it). I now simply write 60 of these in front of the save operation:
$tables["my feed"] = array("title"=> "my feed name", "url"=> "http://feeds2.feedburner.com/feedname"............."processfeed"=> "60");
This works great when run manually (I call the process_autoblog function at a button press) but I don't know where the cron jobs are setup. When/how is the autoblog_cron value populated? All I want to do is simply schedule all the feeds stored in the autoblog_table and be able to update it manually when I update my array above.
Could you please tell me at which point in the process the cron jobs are setup? I had to hard code all my feeds because the interface simply can't handle 60+ feeds (it can't even display more than 20 even if autoblog_table has 60 in it). I now simply write 60 of these in front of the save operation:
$tables["my feed"] = array("title"=> "my feed name", "url"=> "http://feeds2.feedburner.com/feedname"............."processfeed"=> "60");
This works great when run manually (I call the process_autoblog function at a button press) but I don't know where the cron jobs are setup. When/how is the autoblog_cron value populated? All I want to do is simply schedule all the feeds stored in the autoblog_table and be able to update it manually when I update my array above.
I called setup_listeners directly right after I save the autoblog_table setting, but it doesn't work. No matter what I do I can't get the cron jobs to fire. I personally visit the site a couple of times a day to try to trigger it with no result.
I know it's not working because I use your Blog Activity plugin to check my stats and they are always 0. I'm still forced to run the process_autoblog function manually once or twice a day.
Responses (4)
Erstwhile founder — 11th November 2009 #
Hiya,
We're looking into this.
Thanks,
Andrew
Developer — 11th November 2009 #
The cron jobs are set up in the autoblogcron class in the setup_listeners function, which is called on the init action.
Is that the information you are after?
Member — 15th November 2009 #
I called setup_listeners directly right after I save the autoblog_table setting, but it doesn't work. No matter what I do I can't get the cron jobs to fire. I personally visit the site a couple of times a day to try to trigger it with no result.
I know it's not working because I use your Blog Activity plugin to check my stats and they are always 0. I'm still forced to run the process_autoblog function manually once or twice a day.
Developer — 15th November 2009 #
Are any other scheduled jobs (crons) running?
If you schedule a post for a period in the future, does it get published correctly?
Become a member