Cron Job Rail Related Request

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

What does it mean here? This is every 2 minutes.

+3
source share
1 answer

every hour until the second minute your work is done.

  • 00:02
  • 1:02
  • 2:02
  • 3:02
  • 4:02 etc ...

If you want every two minutes:

*/2 * * * *
+3
source

Source: https://habr.com/ru/post/1772060/


All Articles