Rails cron job configuration with the whenever gem

My rails app uses the Whenever gem to handle cron jobs. My schedule.rb file works in development but I am unsure how to set it up for production. I have read the docs but am still struggling to figure this out. When I create a new job from the Render dashboard, what should my command be?

We followed up with Zachary via a support ticket for this and just sharing our response here -

The whenever gem isn't much use I'm afraid in most PaaS environments which includes us. Our services don't have the ability to execute cron like the output of whenever is intended to do. What we do have is https://render.com/docs/cronjobs which lets you specify the interval and the command to execute, in Rails - I'd say it's probably likely to be a rake task.

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.