enonic / app-snapshotter

A snapshotter app that captures snapshots of an EnonicXP installation at regular intervals
Other
0 stars 0 forks source link

Migrate to scheduler API #71

Closed rymsha closed 1 year ago

rymsha commented 3 years ago

XP 7.7 introduced Scheduler API. Snapshotter uses cron scheduling extensively and is a perfect candidate for migration.

Benefits: isMaster call won't be needed. cron job is guaranteed to be run only on a single server in entire cluster. It gives better control to Operations which servers could run snapshots: currently only master nodes are capable of doing it overloading them. New version could be configured with Application Filters https://developer.enonic.com/docs/xp/stable/deployment/config#application