Skip to content

Trigger Server and Service

Matti Maier edited this page Sep 21, 2020 · 1 revision

For BNote web admins not having to set up cronjobs on their web hosting (which is not always available) a simple callback server was installed on bnote.info

Trigger Service

In case your BNote instance has access to the Internet and its is reachable form the Internet, it registers notifications on http://www.bnote.info/TriggerServer with only a callback token and URL. This callback is then triggered when needed.

You can find the source code to the Trigger Server here: https://github.com/mattimaier/bnote/tree/master/TriggerServer

Host your own Trigger Server

You can host your own trigger server by putting the scripts from the Trigger server on your webserver and set up cron for it on an hourly basis. Make sure to change the URL and security token in BNote/src/export/triggerService.php

Clone this wiki locally