48e5afbbc3c9b3af8e9a9d61c7c7170dbb268eda — Jiri Vlasak 3 months ago 4477406
Update readme with upkeep scripts description
1 files changed, 24 insertions(+), 0 deletions(-)

M README.md => README.md +24 -0
@@ 345,3 345,27 @@ hours.
       systemctl enable damn_upkeep.service

       systemctl start damn_upkeep.timer

Automatically unlock square

The `unlock_square.sql` upkeep script unlocks a square that is locked for more
than two hours.

Update areas statistics

The `update_areas_statistics.sql` script updates *squares to map*, *squares to
review* and *squares done* fields of all *current* areas (areas with a priority
greater than zero.)

Delete archived areas

When an area has priority `-10`, the `delete_areas_with_priority_-10.sql`
script deletes such an area including all its squares and commits during the

**NOTE:** It works only for the areas with priority `-10`. For other archived
areas (areas with priority less than zero,) there is no special upkeep script