oracleredmine

Configure scheduled tasks

Configure scheduled tasks

To automatically perform certain tasks in Redmine, it is necessary to set up a scheduled task / cron job.

Follow these steps:

  • Run the following command to edit the crontab file:

    $ sudo crontab -e
    
  • Add the following line to the file. This will configure a job to be executed daily at 00:30. You can modify the timing if you wish, and you must replace the COMMAND placeholder with the command to be executed.

    0 30 * * * COMMAND
    
  • Save the file.

Configure reminder emails

To have Redmine automatically send reminder emails, create a scheduled task as described in the previous section. Use the following command in the crontab file:

0 30 * * * sudo /opt/bitnami/ruby/bin/rake -f /opt/bitnami/apps/redmine/htdocs/Rakefile redmine:send_reminders days=7 RAILS_ENV="production"