org.cronjobs
Attributes
Functions
|
|
|
|
|
|
|
Reindexes all recently published/unpublished objects |
|
Deletes TANs that are older than half a year. |
|
Deletes TAN accesses that are older than half a year. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Find all models inheriting from DeletableContentExtension, iterate |
Module Contents
- org.cronjobs.reindex_published_models(request: onegov.org.request.OrgRequest) None [source]
Reindexes all recently published/unpublished objects in the elasticsearch database.
For pages it also updates the propagated access to any associated files.
- org.cronjobs.delete_old_tans(request: onegov.org.request.OrgRequest) None [source]
Deletes TANs that are older than half a year.
Technically we could delete them as soon as they expire but for debugging purposes it makes sense to keep them around a while longer.
- org.cronjobs.delete_old_tan_accesses(request: onegov.org.request.OrgRequest) None [source]
Deletes TAN accesses that are older than half a year.
Technically we could delete them as soon as they expire but for debugging purposes it makes sense to keep them around a while longer.
- org.cronjobs.ticket_statistics_common_template_args(request: onegov.org.request.OrgRequest, collection: onegov.ticket.TicketCollection) dict[str, Any] [source]