schugs / ruby-cron-job

Ruby Cron Job Example

Home Page:https://render.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby Cron Job

This is a simple Ruby cron job example for Render.

Deployment

Fork this repo on Render and create a new Cron Job using your new repo and the following values:

Field Value
Environment Ruby
Build Command bundle install

Set the schedule to run your command once every five minutes. See cron expressions for the schedule format.

Field Value
Schedule */5 * * * *
Command bundle exec ruby main.rb

Save your cron job and that's it! Your command will now run every five minutes and print Hello World from Render! in the logs.

About

Ruby Cron Job Example

https://render.com

License:MIT License


Languages

Language:Ruby 100.0%