typo + example

This commit is contained in:
Kim - DG9VH 2016-09-30 21:47:13 +02:00 committed by GitHub
parent e46445f56c
commit 913372b084

View file

@ -2,4 +2,11 @@ The YSF Gateway interfaces the MMDVM Host to the open source YSF Reflector syste
The file YSFHosts.txt holds information about the reflectors available, and the gateway has the ability to reload this file at intervals to ensure that it is always up to date.
It is expected that a call to retrieve this file is done via some mechanism such as crom on Linux. The URLs to retrieve the latest file are [http://register.ysfreflector.de/export_csv.php](http://register.ysfreflector.de/export_csv.php), or [https://register.ysfreflector.de/export_csv.php](https://register.ysfreflector.de/export_csv.php).
It is expected that a call to retrieve this file is done via some mechanism such as cron on Linux. The URLs to retrieve the latest file are [http://register.ysfreflector.de/export_csv.php](http://register.ysfreflector.de/export_csv.php), or [https://register.ysfreflector.de/export_csv.php](https://register.ysfreflector.de/export_csv.php).
An example would be following line in root's crontab, that fetches the reflector-list each 5 minutes:
> sudo crontab -e
add following line:
> */5 * * * * wget -O /var/YSFGateway/YSFHosts.txt http://register.ysfreflector.de/export_csv.php