first commit

This commit is contained in:
2025-08-07 13:15:31 +01:00
commit d903893b4c
21854 changed files with 4461308 additions and 0 deletions

15
front/cronjob_task.php Normal file
View File

@ -0,0 +1,15 @@
<?php
// cronjob_task.php
require_once '../functionsophalglpi.php';
include ('../inc/includes.php');
// Example: Log current date and time to a file
$logFile = 'cron_log.txt';
$currentDate = date('Y-m-d H:i:s');
file_put_contents($logFile, "Cron ran at: $currentDate :". close_hr_tickets(), FILE_APPEND);
echo "Cron executed successfully.\n";
?>