Project

General

Profile

Actions

Task #349

closed

Inicialize default long running tasks

Added by Radek Tomiška over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Scheduler
Target version:
Start date:
03/30/2017
Due date:
% Done:

100%

Estimated time:
5.00 h
Owner:

Description

Inicialize default scheduled long running tasks, when application starts up. Some tasks are required by application:
- remove expired identity contracts (core module)
- remove expired user roles (core module)
- execute account managemet, when role starts to be valid (acc module)
- ...

This tasks have to be scheduled automatically, when application starts:
- check existence long running task type schedule - prevent initialize task redundantly (task have to be scheduled only once)
- task could be defined in different modules - use module descriptor to registrate tasks, which have to be initialized (the same as notification templates)
- use cron trigger for task scheduling

Actions

Also available in: Atom PDF