<?php

return [
    'schedule' => [
        'ldap' => function ($scheduler) {
            $scheduler->command('inside:user:import ldap --disable-not-imported')->daily()->at('2:00')->after(function () {
                \Illuminate\Support\Facades\Artisan::call('inside:user:clean-references', ['content_types' => 'sites']);
            });
        },
        'ged' => function ($scheduler) {
            $scheduler->command('ged:import --robohelp-documents')->daily()->at('3:00');
        },
    ],
];
