vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Update RSS fee at a specific time. (https://vborg.vbsupport.ru/showthread.php?t=277828)

Desi-Home 01-31-2012 04:43 PM

Update RSS fee at a specific time.
 
Update RSS fee at a specific time. Can we set a RSS feed to update lets say at 3PM eastern instead of selecting every 10 mins or 20 mins or an hours and such.. so it updates at 3pm or w.e. time can we install a mod/plugin to select a time to update instead of every 10 mins or 20 mins or such..

kh99 01-31-2012 04:53 PM

I think what you could do is to set the Cache Lifespan to 1440 (which it says is the most allowed), then write a plugin using hook external_start to clear the externalcache db table of any records that were created before 3PM the previous day. (But that won't be a feed of what's there at exactly 3PM because it depends on when the requests are made).

Desi-Home 01-31-2012 04:59 PM

I'm not sure how cashe Lifespan works but i can set that to whatever you say.. However I've no idea how to set a plugin to do such thing.. Could you please help me.. I would really really apprciate.. I want to select the time to update RSS like at 3PM or 1PM eastern instead of by minutes.. Please help.. Thank you..

kh99 01-31-2012 05:03 PM

You're talking about the feed from your site, right? So if it's, say, 8AM on Friday, someone who gets your feed would see all the posts from 3PM Wednesday to 3PM Thursday? And then at 3:01PM they'd see 3PM Thurs. to 3PM Fri.

Desi-Home 01-31-2012 05:14 PM

NO NO.. I'm talking about getting feed from other forums.. I should get at a specific time instead of every 10 mins or 20mins or 12 hours.. I should get at 3PM everday.. and that's it.

kh99 01-31-2012 07:52 PM

OK...you know, for some reason I was thinking that the rss feed thing was a vb4 addition, so I didn't consider that.

In any case, I think that makes it easier. Go to the Scheduled Task Manager, edit the "RSS Poster Robot" task, and change it to run once a day at 3:00PM.

Desi-Home 01-31-2012 08:05 PM

Does the following will run at 3:30 PM everyday ?

http://imageshack.us/photo/my-images/864/rssvr.png/

kh99 01-31-2012 08:30 PM

If you want it to be 3:30 PM, choose 15 for the hour.

Also, that will go by your server time, so if it's not in the timezone you want you'd have to compensate for that.

Eslob 02-04-2012 07:29 AM

yes kh99, in the time you edit your feed, check the timing before you do the editing.

and put in mind after X hours will be the wanted time for you.


All times are GMT. The time now is 12:53 AM.

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.01028 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete