Rails command line

I'm putting together an application and some of the code will be needed to run some cron jobs. Is this easy with rails?

yes -- see {RAILS_ROOT}/script/runner