User Manual

08.13.2024

MANUAL

Enable The Reminder Function of Pleasanter

## Notes 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. ## プリザンター バージョン 1.3.7.0以降でリマインダー機能を有効化する手順 [BackgroundService.json](/en/manual/background-service-json)および[Service.json](/en/manual/service-json)のパラメータ設定値を変更してください。なお、パラメータ変更時はマニュアル[パラメータ変更時の確認事項](/ja/manual/parameter-edit)をご確認ください。 #### BackgroundService.json マニュアル[パラメータ設定:BackgroundService.json](/ja/manual/background-service-json)を参照し、BackgroundService.jsonファイル内の設定を下記の設定値に変更してください。 |項目|設定例|説明| |:--|:--|:--| |Reminder|true|リマインダー機能の有効化| #### Service.json マニュアル[パラメータ設定:Service.json](/ja/manual/service-json)を参照し、Service.jsonファイル内の設定を下記の設定値に変更してください。 |項目|設定例|説明| |:--|:--|:--| |AbsoluteUri|"http://pleasanter.example.local"|通知やリマインダーに記載されるURLの先頭部分を記入してください。(nullは使えません。)| ----- ## 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.ps1](https://github.com/Implem/Implem.Pleasanter/blob/master/Implem.Pleasanter/Tools/Reminder.ps1)to 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. |Item|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. ```python urllib.request.Request("http://192.168.11.100/reminderschedules/remind?NoLog=1") ``` Install "Python 3.6" which is required to run Reminder. ```bash sudo dnf install -y python36 ``` Setup cron for Reminder.py. ```bash crontab -e @reboot python3 /web/pleasanter/Tools/Reminder.py ```
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.