Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 640 Bytes

Jobs.md

File metadata and controls

20 lines (12 loc) · 640 Bytes

Jobs

The job engine uses 2 tools:

How it works

  1. You define using whenever syntax in ruby the tasks you want to run, and then base on the environment we will run the correct jobs files

whenever creates a crontab file that can be executed by supertronic

  1. supertronic runs the file as a foreground process (cron is not made for docker, this is why we us this library)

Which file is run

The file chosen is determined by the env variable JOB_FILE. This is how we choose which job file is run for an environment.