Is it possible to use the Whenever gem in Rails for Cronjobs?

I tried using the whenever gem to generate a cron schedule for a rake task, but I realized it wasn’t running.

I see that there is an option to create a Cronjob service using the same repository, but it would have to share information through an API with the main app.

Is it possible to just run the whenever gem from the same web service?

Hey there,
To use our CronJobs service type you would deploy the same repo and configure whatever environment variables etc you need and then for the rake task you want to be executed you would configure that as the command;

The whenever gem is simply an interface onto crontab that lets you store your Crons in code and then output them into cron syntax for execution - and that’s not something we support


John B

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