Server IP : 213.176.29.180 / Your IP : 18.216.146.89 Web Server : Apache System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : webtaragh ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/webtaragh/public_html/whmcs/admin/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php use WHMCS\Cron; use WHMCS\Exception\Fatal; use WHMCS\Terminus; /** * admin/cron.php * * This file is deprecated and here for backwards compatibility. * * The distributed version of WHMCS provides the main application cron in * crons/cron.php * * The crons folder may be moved to any place above or below the docroot. * * For more information please see https://docs.whmcs.com/Custom_Crons_Directory */ /** @var WHMCS\Application $whmcs */ require dirname(__DIR__) . DIRECTORY_SEPARATOR . 'init.php'; define('PROXY_FILE', true); try { $path = Cron::getCronsPath(basename(__FILE__)); require_once $path; } catch (Fatal $e) { echo Cron::formatOutput(Cron::getCronRootDirErrorMessage()); Terminus::getInstance()->doExit(1); } catch (\Exception $e) { echo Cron::formatOutput(Cron::getCronPathErrorMessage()); Terminus::getInstance()->doExit(1); }