Hi, I'm new.
I creating a little rails app, that will crawl the web on a regular basis and then show the results.
The crawling will be scheduled, likely a cron job.
I can't wrap my head around where to put my crawler. It doesn't seem to fit.
An example: Model - News Story Controllers - Grabs a story from the DB, Sort the Stories, Search the Stories etc. View - HTML News Story, RSS Story etc.
Then a I have a news crawler, that will go crawl some feeds for new stories, then insert them into the db. Where do I put it, and how do I get cron to execute it?
Maybe put it in the NewsStoryController?
Do I make another file for cron to run, that contains something like this: