Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2006, 03:52 PM
Jacksplat Jacksplat is offline
 
Join Date: Oct 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 01-18-2007, 11:44 AM
TMM-TT's Avatar
TMM-TT TMM-TT is offline
 
Join Date: Jun 2005
Location: Sweden
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 01-18-2007, 12:19 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 01-18-2007, 01:03 PM
TMM-TT's Avatar
TMM-TT TMM-TT is offline
 
Join Date: Jun 2005
Location: Sweden
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid View Post
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.
Reply With Quote
  #5  
Old 01-18-2007, 01:42 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could it be that it's not running under a proper userid when croned?
Reply With Quote
  #6  
Old 01-18-2007, 02:29 PM
TMM-TT's Avatar
TMM-TT TMM-TT is offline
 
Join Date: Jun 2005
Location: Sweden
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid View Post
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.
Reply With Quote
  #7  
Old 01-18-2007, 02:46 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good catch. Stuff like that can be a headache!
Reply With Quote
  #8  
Old 10-24-2007, 04:36 PM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 10-25-2007, 07:17 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anything in your Scheduled Tasks log? Is the task running at all?
Reply With Quote
  #10  
Old 10-25-2007, 10:11 AM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04803 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete