vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Setting Cron for RSS Feeds (https://vborg.vbsupport.ru/showthread.php?t=133037)

Jacksplat 12-02-2006 03:52 PM

Setting Cron for RSS Feeds
 
I've searched here all week, I give up and hope someone can tell me what I need to know or direct me to a thread that's discussed this before.

I have RSS Feeds on my forum, I update them manually in the update feeds 3 times a day. I know I can put this in a cron job but have never messed with cron before. There is a cron option in my cpanel and there is a cron job in my vbulletin admin panel. I need to know which of these I should use, and what would the command be in either. An example of the command would rock. The example can contain any url for the feed, I can replace it with my own.

Thanks in advance.

Jack

TMM-TT 01-18-2007 11:44 AM

I have a similar problem here. I have some RSS-feeds too, but none of the news from those feeds gets updated at all even if there are new articles available. It's like vB never reach the feed.

noppid 01-18-2007 12:19 PM

Are you talking about something like this posted daily with a different topic for each day?

http://www.riderinfo.com/forums/f33/
http://www.cpurigs.com/forums/forumdisplay.php?f=12

TMM-TT 01-18-2007 01:03 PM

Quote:

Originally Posted by noppid (Post 1162124)
Are you talking about something like this posted daily with a different topic for each day?

http://www.riderinfo.com/forums/f33/
http://www.cpurigs.com/forums/forumdisplay.php?f=12

Something like that. :)

I have tracked down my problem to the rssposter.php located under includes/cron. In some very strange reason, the $itemdata->save()-routine doesn't work as it should. I still don't know why but the articles from the feeds won't be posted in the forum as threads at all - only when I do it manually, and it's not always it work that way either.

noppid 01-18-2007 01:42 PM

Could it be that it's not running under a proper userid when croned?

TMM-TT 01-18-2007 02:29 PM

Quote:

Originally Posted by noppid (Post 1162197)
Could it be that it's not running under a proper userid when croned?

I found a hook that stopped my user to do posts with links -
"Cyb - Advanced Permissions Based on User's Post Count
Forum/Thread Permissions". Must be a bug, since the linkthingy was disabled. Quite embarrasing, I tried to find this problem for a couple of hours now. :D

noppid 01-18-2007 02:46 PM

Good catch. Stuff like that can be a headache!

Mikecp421 10-24-2007 04:36 PM

Sorry for reviving an old thread, but I wasn't able to find anything new that helped, and this is pretty much my exact problem....

I'm having the same issue with the RSS Poster feature--it will work, and the posts will show up when I manually reset and then run the RSS Poster scheduled task, but it will not run on its own. I can go in and look at the preview, and it is updating correctly, but for whatever reason the posts don't show up on their own as they are supposed to. I have checked the Forum Permissions for the users the posts are supposed to appear under, and they are set correctly--there is nothing I can see that would keep them from posting. Does anyone have any ideas or suggestions on how to troubleshoot this? Thanks

Marco van Herwaarden 10-25-2007 07:17 AM

Anything in your Scheduled Tasks log? Is the task running at all?

Mikecp421 10-25-2007 10:11 AM

The feeds are updating as they should, but I don't see that the RSS Poster robot has worked at all since I manually ran it yesterday.

Here are my settings for the RSS Poster robot scheduled task:

varname rssposter
Title RSS Poster Robot
Description .......
Log Phrase Inserted the following {1}
Day of the Week *
Day of the Month *
Hour *
Minute 27
Acitve (Y)
Log Entries (Y)
filename ./includes/cron/rssposter.php
product vbulletin


All times are GMT. The time now is 06:51 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01152 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete