开发者

Query related to rails Cron Job

开发者 https://www.devze.com 2023-01-22 06:49 出处:网络
2**** cd $PROD_RAILS_ROOT && ./rake --silent users:update RAILS_ENV=productio开发者_如何学编程n
2**** cd $PROD_RAILS_ROOT && ./rake --silent users:update RAILS_ENV=productio开发者_如何学编程n

What does 2 mean here? Is it every 2 min.


each hour to the second minute your job is executed.

  • 00:02
  • 01:02
  • 02:02
  • 03:02
  • 04:02 etc...

If you want each 2 minutes it's :

*/2 * * * *
0

精彩评论

暂无评论...
验证码 换一张
取 消