shiftcalc/public/cron.php

20 lines
488 B
PHP
Raw Normal View History

2025-07-23 22:08:42 +02:00
<?php declare(strict_types=1);
// require the vendor autoload file
require '../vendor/autoload.php';
// define working context to prevent data breaching
define("SHIFTCALC", 1);
// import the task runner class
use Nischcodes\Shiftcalc\TaskRunner;
//ini_set('display_errors', '1');
//ini_set('display_startup_errors', '1');
//error_reporting(E_ALL);
// initilize the TaskRunner
TaskRunner::init();
// run the TaskRunner
TaskRunner::run();