In some cases it might be handy to have a website available offline for cases where no internet connection is available.
With Kiwix and the ZIM-package format it’s quite easy to do so. It can easily be run on a Raspberry and made accessible on the local network.
To automate updates of ZIM packages I wrote some little scripts which are available in the following Github repo: https://github.com/fawcs-at/zim-downloader
Information on how to use the scripts can be found in the readme in the GIT repo.
To automate the process of updating ZIM packages once a month the “updateZim.sh” should be added as a cronjob to your crontab:
#cat /etc/crontab 45 2 1 * * <username> /<path_to_script>/updateZim.sh
Will start an update on ever 1st day of the month at quarter to 3 in the morning.