Loading
Add four new execution modes.
New modes are:
--single-run Run steps 1--3 only for a single time, then exit.
--download-only Only run step 1: download recent descriptors, then
exit.
--update-only Only run step 2: update internal status files, then
exit.
--write-only Only run step 3: write output document files, then
exit.
Default mode is:
[no argument] Run steps 1--3 repeatedly once per hour.
Use the lock file in default periodic-update mode, too, because we
don't want other execution modes to interfere with an ongoing periodic
update either.
Implements part of #13600.