This is the content of the /scripts/update_cwp
file:
/usr/local/cwp/php71/bin/php -d max_execution_time=1000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php
Opening the cron.php
file looks like this:
<?php //0042b
// Copyright CentOS WebPanel, Decoding is FORBIDDEN
// All Rights Reserved. www.centos-webpanel.com
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube restart');exit(199);
?>
HR+cPoTbtmwVi28X5jrBBL2P6jRk8obnO6pNLT0RCClQBgWMxWfn/CCNgHQKOgpHLl+vYLBoub3l
v4wyOVfsU8EmTyvxbwGRC3CtfbYPJwpXtikDJFaoqdpXPAi5PT2vVELfG5twWyGg5r5QJS/zACrE
Rvz52/GFwGjh9NGHyz7NWohx2uV49i2GNSu7CK2BpMHTt7YkW2zxs9izxEG2WRzG+M/gh/m9Ghcf
Lk/nbUHjFk5ZSqiDKo5x8eDFN8t8Wfpk8Iv6dmDDRMmXcr8XusMTrvK+hVMptDRbVQ/El+VrTU+5
q9abqO5s0ef92nOxPJWlnmUcMTHUgmANyXXW8vbJVIuzbaTcT/xVjFVC3EnGxwBeibWAR7H9q7Z3
So i have no way of NOT restarting apache every night...