tags:

views:

77

answers:

2
A: 

I think you'd generally do this kind of stuff with a cronjob or your system's equivalent functionality. Have a script that goes through all the links in your database and check whether they're valid. Maybe have an hourly one that does it for new links and have the others set to daily or weekly so you're not doing too much work.

Chuck
sure, but that's not a Ruby API
marienbad
@marienbad: No, and a screwdriver isn't a hammer, but it's probably what you want when you're dealing with screws.
Chuck
+3  A: 

Delayed Job is great for queuing tasks in Rails apps.

Ben
nice, but it would take some serious work to extract that from Rails. Maybe nothing like it exists for pure Ruby.
marienbad