contactcats/api/v3/Job/Contactcatsync.mgd.php
Rich Lott / Artful Robot 12ccb846e8 Add Scheduled Job
2025-03-31 09:58:39 +01:00

21 lines
774 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
// This file declares a managed database record of type "Job".
// The record will be automatically inserted, updated, or deleted from the
// database as appropriate. For more details, see "hook_civicrm_managed" at:
// https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_managed
return [
[
'name' => 'Cron:Job.Contactcatsync',
'entity' => 'Job',
'params' => [
'version' => 3,
'name' => 'Contact Category sync',
'description' => 'Keeps contactss categories updated daily, recording change activities to track over time. Should be run hourly but will only actually work around 3am.',
'run_frequency' => 'Hourly',
'api_entity' => 'Job',
'api_action' => 'Contactcatsync',
'parameters' => '',
],
],
];