In Holistics 4.0 there is new way to create persistent models but I can’t find a way to make it work.
I used this page for help : Persistence Query Model | Holistics Docs
I have added this block to two of my models :
persistence: FullPersistence {
schema: 'holistics_imports'
}
and created the schedule.aml
file next to index.aml
:
import './matomo_final/evenements.model.aml' {evenements}
import './matomo_final/pages_vues.model.aml' {pages_vues}
const schedules = [
Schedule {
models: [evenements, pages_vues]
cron: '*/15 * * * *'
}
]
but nothing happens.
Am I doing it wrong ?
How can I debug this ? Are there logs somewhere ?
Thanks in advance for your help !
Damien