diff options
author | Daniel Schadt <kingdread@gmx.de> | 2024-04-05 22:34:08 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2024-04-05 22:34:45 +0200 |
commit | 4f96b9c3f39213a5f6ae631c7c820f63fc2219d5 (patch) | |
tree | 002a30ecabab225d77e3df0e89fdb3584a04cc6b /doc/administration/cronjobs.rst | |
parent | 6ee21f6c078891e4453415cbebd6b7d591185c5f (diff) | |
download | fietsboek-4f96b9c3f39213a5f6ae631c7c820f63fc2219d5.tar.gz fietsboek-4f96b9c3f39213a5f6ae631c7c820f63fc2219d5.tar.bz2 fietsboek-4f96b9c3f39213a5f6ae631c7c820f63fc2219d5.zip |
documentation improvements
Diffstat (limited to 'doc/administration/cronjobs.rst')
-rw-r--r-- | doc/administration/cronjobs.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/administration/cronjobs.rst b/doc/administration/cronjobs.rst index a7d1a95..c2939c8 100644 --- a/doc/administration/cronjobs.rst +++ b/doc/administration/cronjobs.rst @@ -9,14 +9,20 @@ keep the instance running smoothly: * Tracks that are not present in the cache should have their cache entry populated by pre-calculating their length/uphill/downhill/… values. This makes accessing those values faster when a user requests the track's details. +* If enabled, heatmaps/tilehunts should be generated. Fietsboek comes with a script to deal with those jobs: ``fietscron``. You can run it like this:: fietscron -c path_to_config.ini +The script is designed to be "smart", meaning that it splits the long tasks +(such as heatmap generation) over multiple runs, and it should work without +additional configuration. + You can use any mechanism you like to run this command at pre-defined intervals -(e.g. once an hour). You can find information about this in various sources: +(e.g. once an hour). You can find information about this in various sources, +depending on your system setup: * https://wiki.archlinux.org/title/Systemd/Timers * https://wiki.archlinux.org/title/Cron |