Reputation: 6361
Reading the documentation here, https://devcenter.heroku.com/articles/scheduler, I see how to schedule tasks with rails. But I was wondering how to schedule tasks with regular ruby?
What do I have to put in the task field to have my ruby script run?
Upvotes: 5
Views: 897
Reputation: 15205
Not sure if once upon a time you had to use rake, but no more. Just use ruby directly:
ruby path/to/yourfile.rb arg1 arg2
Upvotes: 0