Update Dispatcher-Service.md (#15705)

* Update Dispatcher-Service.md

Removed the CRON part.

Scheduler is handled with a systemd service now. See https://docs.librenms.org/Installation/Install-LibreNMS/#enable-the-scheduler

* Update Dispatcher-Service.md

remove the "Debian 12 Bookworm is not available".

It was released june 10th 2023

* Update Dispatcher-Service.md

as requested by https://github.com/librenms/librenms/pull/15705#pullrequestreview-2003870339

* Update Dispatcher-Service.md

---------

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
systeembeheerder
2024-05-08 14:33:47 +02:00
committed by GitHub
parent 8027492a29
commit 0ac1414905

View File

@@ -182,10 +182,7 @@ The watchdog scheduler will check that the poller log file has been written to w
## Cron Scripts
Once the LibreNMS service is installed, the cron scripts used by LibreNMS to start alerting, polling, discovery and maintenance tasks are no longer required and must be disabled either by removing or commenting them out. The service handles these tasks when enabled. The only cron task enabled after switching to the dispatcher service should be the following:
```
* * * * * librenms cd /opt/librenms/ && php artisan schedule:run >> /dev/null 2>&1
```
Once the LibreNMS service is installed, the cron scripts used by LibreNMS to start alerting, polling, discovery and maintenance tasks are no longer required and must be disabled either by removing or commenting them out. The service handles these tasks when enabled.
## Service Installation
@@ -266,8 +263,6 @@ Warning: Bullseye provide PHP 7.4 that is too old to run LibreNMS.
##### Debian 12 (Bookworm)
Warning: Bookworm is not available as stable yet (as 2022 november).
Install dependancies
```
apt install python3 python3-mysqldb python3-dotenv