script/runner or script/rails runner scripts are common in Rails apps for doing maintenance tasks. However, this only works well until you have several arguments to parse from the command line. Putting standalone scripts in /bin instead gives you easier, more flexible argument parsing and cleaner command lines and crontab entries. Arguments with script/runner # First, you could just hack the argum