View Full Version : RSS Feed - Scheduled Task?
Watson
11-17-2008, 12:23 PM
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
<!-- 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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.