Skip to content

Automatic synchronization via CronTask #24

@f2cmb

Description

@f2cmb

Why:
sync is manual-only (AJAX button). The plugin's value is unattended synchronization.

What:

  • Register a GLPI CronTask at install (e.g. AdvancedldapSync), unregister at uninstall
  • Per-SyncFilter flag to opt in/out of automatic sync (is_active or auto_sync)
  • Cron iterates active SyncFilters, runs executeSingleFilter(), records into execution history, reports progress via the CronTask log
  • Graceful handling: one failing filter must not abort the others
  • Unit tests

Depends on:
"Persist sync execution history" (history is the cron's journal)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions