Mantra official documentation

30-mantra-core-events.md

A  A  A 

Core Events

A number of events are triggered by Mantra core according to core component configuration.

"system.startup" event

This event is triggered when the application has been launched, all components loaded and intialized and up & running.

"system.cleanup" event

This event is triggered according to property "croncleanupevent" cron configuration for "core" component.

Is intended to perform some kind to cleaning during the application behaviour: remove old data in databases, remove temporal files and so no.

Important to note: this event is triggered if "cron" service is actived in the application.

"system.backup" event

This event is triggered according to property "cronbackupevent" cron configuration for "core" component.

Is is intended to perform backups if necesary in the application.

Important to note: this event is triggered if "cron" service is actived in the application.


To learn by example, go to Mantra demos and components sections of Mantra site.