Crontab 使用:
https://help.ubuntu.com/community/CronHowto
Test Rails route in console:
inclue ActionController:UrlWriter
If...elsif... 若if中匹配了,则执行if中语句,否则进入elsif
Crontab 使用:
https://help.ubuntu.com/community/CronHowto
Test Rails route in console:
inclue ActionController:UrlWriter
If...elsif... 若if中匹配了,则执行if中语句,否则进入elsif