����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.17.154.155 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/ideyshare.name.ng/app/tasks/ |
Upload File : |
<?php /* * Title: Process File Action * Author: YetiShare.com * Period: Run every 5 minutes * * Description: * Script to process any pending actions in the file_action table queue * * How To Call: * On the command line via PHP, like this: * php process_file_queue.cron * * Configure as a cron like this: * *\/5 * * * * php /path/to/yetishare/app/tasks/process_file_queue.cron.php */ namespace App\Tasks; // include framework use App\Core\Framework; use App\Helpers\BackgroundTaskHelper; use App\Helpers\FileActionHelper; use App\Helpers\FileHelper; require_once(realpath(dirname(__FILE__).'/../core/Framework.class.php')); // setup light environment Framework::runLight(); // background task logging BackgroundTaskHelper::start(); // process delete queue FileActionHelper::processQueue('delete'); // process move queue FileActionHelper::processQueue('move', 1); // process restoration queue FileActionHelper::processQueue('restore', 50); // update storage stats FileHelper::updateFileServerStorageStats(); // background task logging BackgroundTaskHelper::end();