Cautions¶
The procedure for activating reminders has changed since Pleasanter version 1.3.7.0. If you are using an older version, please check the settings for the older version below.
Steps to enable the reminder function in Pleasanter version 1.3.7.0 or later¶
Change the parameter settings in "BackgroundService.json" and "Service.json". When changing parameters, please refer to the manual "Confirmation When Changing Parameters".
BackgroundService.json¶
Refer to the manual "BackgroundService.json" and change the settings in the BackgroundService.json file to the following settings.
| Column | e.g. | Description |
|---|---|---|
| Reminder | true | Enable reminder function |
Service.json¶
Refer to the manual "Service.json" and change the settings in the Service.json file to the following settings.
| Column | e.g. | Description |
|---|---|---|
| AbsoluteUri | "http://pleasanter.example.local" | Please enter the first part of the URL to be displayed in notifications and reminders. (null is not allowed) |
How to enable the reminder function in older versions (Pleasanter 1.3.6 and earlier)¶
These are steps to register the script in the task scheduler to run the reminder.
How to set up in Windows¶
Install Script¶
Copy Reminder.ps1to D:\Tools or any other folder. Edit Reminder.ps1 with Notepad
Change the http://localhost/pleasanter/ part to the URL of Pleasanter that can be accessed by the client. For example, you can run the reminder even if you set it to http://localhost, but the URL of the record in the sent email will be http://localhost/, so you will not be able to access it from the client even if you click on the record link.
*If your environment is built on Azure, you must use Reminder.ps1 in the App Service web job registration, in which case, enable the commented-out process in the first line.
Setup Task scheduler¶
Register the script in the Task Scheduler. On the task creation screen, make the following settings. After creating the task, right-click the task and run it.
| Column | Settings | Description |
|---|---|---|
| Task Name | Reminder | Enter any name. |
| Run whether the user is logged on or not | Enabled | Runs even when logged off. |
| Trigger | At startup | Starts when the server starts. |
| Executable program | %SystemRoot%\System32 WindowsPowerShell\v1.0 powershell.exe | Runs PowerShell. |
| Add arguments | -ExecutionPolicy Bypass -Command ".\Reminder.ps1" | Script to be called from PowerShell. |
| Start | D:\Tools | Directory where Reminder.ps1 is located. |
| Time to stop task | Disable | Continues to run as a resident program. |
How to set up on Linux¶
Open /web/pleasanter/Tools/Reminder.py and change the localhost part to a URL that can be accessed by the client.
Install "Python 3.6" which is required to run Reminder.
Setup cron for Reminder.py.