org.cronjobs

Attributes

MON

TUE

WED

THU

FRI

SAT

SUN

WEEKDAYS

Functions

hourly_maintenance_tasks(→ None)

send_scheduled_newsletter(→ None)

publish_files(→ None)

reindex_published_models(→ None)

Reindexes all recently published/unpublished objects

delete_old_tans(→ None)

Deletes TANs that are older than half a year.

delete_old_tan_accesses(→ None)

Deletes TAN accesses that are older than half a year.

process_resource_rules(→ None)

ticket_statistics_common_template_args(→ dict[str, Any])

ticket_statistics_users(→ list[onegov.user.User])

send_daily_ticket_statistics(→ None)

send_weekly_ticket_statistics(→ None)

send_monthly_ticket_statistics(→ None)

send_daily_resource_usage_overview(→ None)

end_chats_and_create_tickets(→ None)

archive_old_tickets(→ None)

delete_old_tickets(→ None)

send_monthly_mtan_statistics(→ None)

delete_content_marked_deletable(→ None)

find all models inheriting from DeletableContentExtension, iterate

Module Contents

org.cronjobs.MON = 0[source]
org.cronjobs.TUE = 1[source]
org.cronjobs.WED = 2[source]
org.cronjobs.THU = 3[source]
org.cronjobs.FRI = 4[source]
org.cronjobs.SAT = 5[source]
org.cronjobs.SUN = 6[source]
org.cronjobs.WEEKDAYS = ('MO', 'TU', 'WE', 'TH', 'FR', 'SA', 'SU')[source]
org.cronjobs.hourly_maintenance_tasks(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.send_scheduled_newsletter(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.publish_files(request: onegov.org.request.OrgRequest) None[source]
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.process_resource_rules(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.ticket_statistics_common_template_args(request: onegov.org.request.OrgRequest, collection: onegov.ticket.TicketCollection) dict[str, Any][source]
org.cronjobs.ticket_statistics_users(app: onegov.org.OrgApp) list[onegov.user.User][source]
org.cronjobs.send_daily_ticket_statistics(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.send_weekly_ticket_statistics(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.send_monthly_ticket_statistics(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.send_daily_resource_usage_overview(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.end_chats_and_create_tickets(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.archive_old_tickets(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.delete_old_tickets(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.send_monthly_mtan_statistics(request: onegov.org.request.OrgRequest) None[source]
org.cronjobs.delete_content_marked_deletable(request: onegov.org.request.OrgRequest) None[source]

find all models inheriting from DeletableContentExtension, iterate over objects marked as deletable and delete them if expired.

Currently extended directory entries, news, events and occurrences.