Skip to content

techmatters/terraso-cron-job

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Terraso cron job for cleanup tasks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%