Add tasks runner script.

This script runs the deferred imports. It is meant to
be called from a cronjob at regular intervals – every
one or two minutes is probably a good setting.

It checks if another instance is already running before
doing its thing.

If anything goes wrong (any of the called processes exits
with non-zero condition) it will send an alert to GitLab,
provided that the authorisation key is known.
This commit is contained in:
D. Berge
2020-08-24 21:01:47 +02:00
parent b4b06c8744
commit 3ce6f1dce6
2 changed files with 101 additions and 0 deletions

3
var/README.md Normal file
View File

@@ -0,0 +1,3 @@
# Varying data directory
This is used for storage of temporary data files such as those produced by [`/bin/runner.sh`](../bin/runner.sh) and must therefore be writable by the Dougal user.