摘要:
最近工作需要用到定时任务。原来写java的时候也用到过类似的Scheduler的功能。 Ruby语言中也有同样功能的工具。rufus-scheduler。下面介绍一下rufus-scheduler。 定义: a Ruby gem for scheduling pieces of code (jobs). It understands running a job AT a certain time, IN a certain time, EVERY x time or simply via a CRON statement. 安装:gem install rufus-scheduler... 阅读全文
posted @ 2013-10-26 00:06
天添
阅读(3614)
评论(0)
推荐(0)

浙公网安备 33010602011771号