nativeInstallerredmine

Configure scheduled tasks

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

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 installdir/ruby/bin/rake -f installdir/apps/redmine/htdocs/Rakefile redmine:send_reminders days=7 RAILS_ENV="production"