Rails技巧系列:你使用过script/runner吗?
由Gudao Luo在2009-01-18 at 15:30发表的

- 说明
- Rails命令script/runner可以执行Rails软件Ruby文件或者Ruby代码。
- 结合工具 crontab 可以实现Rails项目的定时任务的执行。
- 参考资料
- Automation With Rails script/runner http://tinyurl.com/99unbm
- Hidden in plain sight: script/runner http://tinyurl.com/ax4kv7
- Running one migration by hand http://tinyurl.com/a3ocsb

Comments
There are 3 comments on this post. Post yours →
是一个很不错的东西~
但是我很多时候还是会用linux自带的cron已经很够我用了.
谢谢老师分享两个不错的链接!
hi kyle!
1)使用这个命令还可以控制Rails软件。
2)还有更重要的链接,点击图!
噢~ 类似 irb 和 ./script/console 的关系~
不错!!!
Post a comment
Required fields in bold.