<?php
/*
Generated by OutputBooks Team
*/

defined("\102\101\123\x45\120\101\x54\110") or exit("\x4e\157\40\x64\x69\x72\145\x63\164\x20\x73\143\162\x69\160\164\40\141\143\143\x65\x73\163\40\141\154\x6c\x6f\167\145\144");
#[AllowDynamicProperties]
class Cron extends CI_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->model("\103\x72\157\x6e\115\x6f\144\x65\154");
    }
    public function clear_devices()
    {
        $this->CronModel->clear_devices();
    }
    public function jobs()
    {
        goto zFNKS;
        cHIdG:
        $comp_config = get_company("\143\x6f\x6e\146\151\x67");
        goto I68uR;
        dsTvt:
        $this->CronModel->trigger_jobs();
        goto dq36d;
        I68uR:
        $now = gmt_to_local(now(), $comp_config["\164\151\155\x65\x5a\157\x6e\x65"]);
        goto VETn7;
        VETn7:
        $cur_date = date("\x59\55\x6d\x2d\144\x20\x48\x3a\151\x3a\163", $now);
        goto cnReP;
        dq36d:
        file_put_contents("\x63\162\157\x6e\56\164\x78\164", "\143\x6f\155\x70\154\145\x74\145\144" . PHP_EOL, FILE_APPEND);
        goto QOXqk;
        QOXqk:
        echo "\143\157\x6d\160\x6c\x65\164\x65\144";
        goto xmlrz;
        cnReP:
        file_put_contents("\143\162\x6f\156\56\164\x78\164", $cur_date . PHP_EOL, FILE_APPEND);
        goto dsTvt;
        xmlrz:
        return;
        goto MKmS7;
        zFNKS:
        $this->load->helper("\144\141\x74\145");
        goto cHIdG;
        MKmS7:
    }
    public function reset_jobs()
    {
        $this->CronModel->reset_jobs();
    }
    public function reset_scheduler()
    {
        $this->CronModel->reset_scheduler();
    }
}
