Servers

Adding & Managing Rake tasks

Overview

Rake Tasks allow you to define and schedule regular Rake tasks. Under the hood, these tasks are executed using bundle exec.

Adding a new Rake Task

To add a new Rake job:

  1. Click the Jobs in the left-hand nav
  2. Click on the button for the type of job you wish to add
  3. Choose a server on which the task should run
  4. Give give your new task a name
  5. Choose a Linux user under which the task will run
  6. Specify the task
  7. Set a schedule for the job - you can use cron syntax for more control over your scheduling
  8. Click Save

You will now see your new task listed on the Jobs page. You can edit it, or run it on demand by clicking on the small downward arrow. Results of running tasks can also be seen here.

Previous
Running the Rails Console