I would like to write a script that is runned by cron. It will update
Any guides for this?
I can’t figure out how do we choose which ruby environment (ie.
development/test/production) in the script
and also, how do I access models in the script (which is also used by
my rails application)?