Ruby
China
Rails
想让数据库根据时间自动更新某个表的某个字段,怎样做更好
Topics
招聘
Wiki
酷站
Gems
Sign Up
Sign In
Rails
想让数据库根据时间自动更新某个表的某个字段,怎样做更好
dragonsk100
·
July 23, 2013
· Last by
qinghe
replied at
July 23, 2013
· 2087 hits
身边的人有的说可以写批处理,还有没有其他方法?
qinghe
#0
July 23, 2013
数据库计划任务 或 操作系统计划任务。
使用 gems,
https://github.com/tobi/delayed_job
https://github.com/javan/whenever
You need to
Sign in
before reply, if you don't have an account, please
Sign up
first.
陈龙
@dragonsk100
大连
Total
1
replies
New Reply comming, click to load.