Let’s face it; some developers just aren’t that reliable, and often need to be regularly reminded about their tasks. You can use the Reminders Tab for this.

While viewing a task, click the Reminders Tab heading, and you will see a list of existing reminders. To send out a regular reminder to someone, use the form provided. Select the developer’s name, enter the frequency of time you wish to have the reminders sent, and type a short message. A sample message is provided, as shown in the image.

Reminder Tab

Enabling reminder support in Flyspray 1.0

Flyspray 1.0 uses schedule.php called by a cronjob (or from command line for testing). Here are 2 crontab examples for setting it up:

# min hour dayofmonth month dayofweek  command
# check in the 7th minute on every hour
7  * * * * php flyspray/schedule.php

# min hour dayofmonth month dayofweek  command
# check every 5 minutes
*/5 * * * * php flyspray/schedule.php

Check if the command line version you setup in the crontab is similar to the php version of the webserver. Some hosters provide different versions of php on the command line like ‘php-5.4’. Find out by typing php TAB TAB (shell autocompletion) to see which php versions are available there.

Reminder on Windows

Untested: Setup the regular invoking of schedule.php by using the Task Scheduler of Windows.

Enabling reminder support in Flyspray < 1.0

Flyspray has a background daemon to regularly trigger various scripts. You need two things to make it work:

If you can’t use the background reminder daemon for whatever reason, you need to activate the schedule.php regularly another way. One method would be using a task scheduler (like ‘cron’) to make a download program (like ‘wget’) retrieve the file every five or ten minutes, in this case set the value to “1” instead of “2”. You don’t need to save it anywhere, just send it to the bit bucket. Merely retrieving the file causes it to run, and thus, send the reminders out.

If you have the ability to use cron on your system, you might automate wget with a command such as this:

wget -q -O /path/to/logfile.txt http://www.mydomain/flyspray/schedule.php

Note that you have to modify the file before you can use it that way. while(true) needs to be changed to while(false). Also, you can only run this file from a local machine.

To easily activate schedule.php from your web server itself, go to URL “http://127.0.0.1/…/flyspray/schedule.php” in a web browser / client where … denotes whatever sub-directories your flyspray installation might be located. If you do not receive the message “You are not authorized to start …” and are presented with nothing in your web browser then it means that you have successfully started the notification daemon and notifications should go out as expected. You can just close your web browser down or click stop in your web browser since the PHP script should run indefinitely on the web server as long as it is configured properly.