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.
30 0 * * * 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 commands in the crontab file:
30 * * * * sudo /opt/bitnami/ruby/bin/rake -f /opt/bitnami/redmine/Rakefile redmine:send_reminders days=7 RAILS_ENV="production"