I'm building a Rails project that has a cron-type job that I'm managing with Rufus Scheduler. I have two questions about how to set this up appropriately in Rails:
- Where's the best place to put the job's code?
- Where should I place the Rufus code to schedule the job? How should I kick it off?