Review the [task integrity scheduler](https://github.com/inveniosoftware/invenio-files-rest/blob/master/invenio_files_rest/tasks.py#L66)