5.4.7 delivering
Delivering process call a script in order
to warm-up an USER (see Who) that an archive he ask for is now available.
However, when this process is hit for an audit, it will call a dedicated
script that will summarise results.
Process conceptual model:
- Events in
deliver()
from extract (see extract): deliver an extracted archive.
[deliver]
from misc (see misc): (no more use)
- Processing
- On normal context, adjust the archive time-to-live to the type of related demands.
- On audit context, check the archive’s md5sum and size.
- For a final demand, switch to the appropriate delivering script (mail to USER or audit).
- Remove the final demand (email) from the cache index.
- Events out
$ /usr/share/mediatex/scripts/deliver.sh
to deliver (see deliver): tel USER (see Who) an archive he was looking for is now available.
$ /usr/share/mediatex/scripts/audit.sh
to audit (see audit): audit an archive.
- Input data
Code:
- src/server/deliver.c