与rails Cron作业相关的查询

与rails Cron作业相关的查询,cron,Cron,2在这里是什么意思?每2分钟一次。每小时到执行作业的第二分钟 00:02 01:02 02:02 03:02 04:02 等等 如果您想要每2分钟,它是: 2**** cd $PROD_RAILS_ROOT && ./rake --silent users:update RAILS_ENV=production */2 * * * *

2在这里是什么意思?每2分钟一次。

每小时到执行作业的第二分钟

  • 00:02
  • 01:02
  • 02:02
  • 03:02
  • 04:02 等等
如果您想要每2分钟,它是:

2**** cd $PROD_RAILS_ROOT && ./rake --silent users:update RAILS_ENV=production
*/2 * * * *