mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Removed sys_getloadavg() (#1188)
This commit is contained in:
parent
8e5b0ff13e
commit
ff46ec48a4
8 changed files with 2 additions and 35 deletions
|
@ -54,7 +54,6 @@ foreach ($cron_jobs as $job) {
|
|||
$msg[] = 'start';
|
||||
$msg[] = date('m-d');
|
||||
$msg[] = date('H:i:s');
|
||||
$msg[] = sprintf('%-4s', round(sys('la'), 1));
|
||||
$msg[] = sprintf('%05d', getmypid());
|
||||
$msg[] = $job['cron_title'];
|
||||
$msg = implode(LOG_SEPR, $msg);
|
||||
|
@ -78,7 +77,6 @@ foreach ($cron_jobs as $job) {
|
|||
$msg[] = ' end';
|
||||
$msg[] = date('m-d');
|
||||
$msg[] = date('H:i:s');
|
||||
$msg[] = sprintf('%-4s', round(sys('la'), 1));
|
||||
$msg[] = sprintf('%05d', getmypid());
|
||||
$msg[] = round(utime() - $cron_start_time) . '/' . round(utime() - TIMESTART) . ' sec';
|
||||
$msg = implode(LOG_SEPR, $msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue