vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   RSS Feed - Scheduled Task? (https://vborg.vbsupport.ru/showthread.php?t=196532)

Watson 11-17-2008 12:23 PM

RSS Feed - Scheduled Task?
 
Is there anyway I can set up a scheduled task to reset all of my RSS feeds? I need to do this manually to get my feeds to show.

VB.com advised that my footer template controls the feed, so they don't automatically post for me, as I have edited something within this.

Just wondering if there is anything more I can automate, as its quite a task to do sometimes as I have around 15 feeds.

Cheers

Colin

Lynne 11-17-2008 02:11 PM

Why don't you just fix the footer template so they run correctly instead of writing a new scheduled task? To answer your question, yes you can set up a scheduled task to do that. You can basically copy the format of a scheduled task from one of the ones in includes/cron and then put the query in there to reset the feeds. Then upload the new file and add it as a scheduled task.

Watson 11-18-2008 07:46 AM

Main problem is I am not sure what I need to fix in the footer template.

Do you have any guidelines on what the code is on the footer I would need to have fixed? I only ask here, as vb.com don't support.

If not I will see if I can get this scheduled task thing to work with resetting the feeds.

Thanks Lynne

Regards

Watson

Princeton 11-18-2008 11:45 AM

Scheduled Tasks will not run if $cronimage is not available.

ensure that $cronimage exists in footer template

Lynne 11-18-2008 01:59 PM

I would start by going to edit the footer template and click on View History > Compare. That will highlight the differences between your footer template and the Jelsoft one. Keep a txt copy of your footer template on your computer, in case you want to go back to it, and then try changing it to see if you can get it to work.

Watson 11-18-2008 02:30 PM

hmmm,

My footer template is actually the default

I also have this code already

Code:

        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
        $cronimage
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->


Lynne 11-18-2008 03:05 PM

Your footer template is default yet you were told your have a problem in it? I'm not sure what to suggest then. Are you sure the RSS Scheduled Task is running? Does it run correctly if you only have one RSS feed (turn off all but one and see and try this with a couple of different feeds). Maybe one is timing out and then none are running.

Watson 11-20-2008 11:05 AM

Yeah I think I will maybe need to do something like that and see if I can find out whats wrong, and go back to vb.com

Cheers Lynne

Lynne 11-20-2008 02:09 PM

The only thing I can think is that you are using the same footer on your portal page and that you may be getting errors trying to run the cron job from there since the page is not in the /forums directory.


All times are GMT. The time now is 08:11 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.01045 seconds
  • Memory Usage 1,723KB
  • 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)bbcode_code_printable
  • (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