lib/generators/openstax/accounts/schedule/templates/schedule.rb in openstax_accounts-6.1.0 vs lib/generators/openstax/accounts/schedule/templates/schedule.rb in openstax_accounts-6.1.1
- old
+ new
@@ -1,4 +1,5 @@
+set :bundle_command, '/usr/local/bin/rbenv exec bundle exec'
+
every 1.minute do
- runner "OpenStax::Accounts::SyncAccounts.call"
- runner "OpenStax::Accounts::SyncGroups.call"
+ rake 'openstax:accounts:sync:all'
end