<?php

return [
    [
        'id' => 'coolify.availability_monitor',
        'legacy_name' => 'CoolifyAvailabilityMonitorCron',
        'name' => 'Coolify availability monitor',
        'description' => 'Checks registered Coolify-managed infrastructure targets.',
        'module' => 'coolify',
        'handler' => 'CoolifyAvailabilityMonitorCron',
        'schedule' => ['type' => 'interval', 'seconds' => 60],
        'timeout_seconds' => 300,
        'estimated_duration_ms' => 2000,
        'priority' => 25,
    ],
    [
        'id' => 'coolify.load_balancer_reconcile',
        'legacy_name' => 'CoolifyLoadBalancerReconcileCron',
        'name' => 'Coolify load balancer reconcile',
        'description' => 'Reconciles public gateway load balancer targets when automation is enabled.',
        'module' => 'coolify',
        'handler' => 'CoolifyLoadBalancerReconcileCron',
        'schedule' => ['type' => 'interval', 'seconds' => 60],
        'timeout_seconds' => 300,
        'estimated_duration_ms' => 3000,
        'priority' => 26,
    ],
];
