Skip to content

Cron jobs

All jobs are in the default cron group. The Magento cron must run, or these tasks do not occur.

Job Schedule Purpose
visus_admin_sso_verify_domains */15 * * * * Checks the ownership TXT record of each domain. Verifies or unverifies each domain. Refer to Domains.
visus_admin_sso_notify_sp_key_expiry 7 3 * * * Sends the expiry notices of the service provider certificate. Refer to Expiry warnings.
visus_admin_sso_clean_expired_requests 7 * * * * Deletes the expired AuthnRequest records.
visus_admin_sso_clean_expired_assertions 37 * * * * Deletes the expired records of the used assertions.
visus_admin_sso_clean_expired_api_tokens 47 * * * * Deletes the records of the expired SSO API tokens.
visus_admin_sso_clean_login_log 17 2 * * * Deletes the login log entries that are older than the configured lifetime.
visus_admin_sso_clean_provider_log 27 2 * * * Deletes the old entries of the provider change log.
visus_admin_sso_clean_domain_log 47 2 * * * Deletes the old entries of the domain change log.
visus_admin_sso_clean_sp_key_log 57 2 * * * Deletes the old entries of the service provider key change log.
visus_admin_sso_repair_provider_audit_triggers */5 * * * * Creates again the provider change log triggers that are missing or changed.
visus_admin_sso_repair_domain_audit_triggers */5 * * * * Creates again the domain change log triggers that are missing or changed.
visus_admin_sso_repair_sp_key_audit_triggers */5 * * * * Creates again the service provider key change log triggers that are missing or changed.

A log lifetime of 0 keeps every entry. Then the clean job deletes nothing.

A repair job logs each repair as critical in the system log. The change log does not contain the changes that occurred while a trigger was missing.

To run the jobs of the default group, use this command:

Terminal window
bin/magento cron:run --group=default