Noob question, so please bear with me.
I want my rails app to periodically do some maintenance work (e.g. once a day). The maintenance commands can be called by an action under a maintenance controller.
A friend suggested using crontab, but I'm not sure how to use crontab to call an action in rails.
Thanks in advance!