I need to achieve something similar, and my initial approach was going
to be to have a cron job that called the relevant rake task on a
My ideal approach would be to have some form of daemon that waits for
data to arrive and then processes it, but at the moment the cron
solution is much more achievable.