Update informational messages output

This commit is contained in:
DariusIII
2018-02-14 23:32:13 +01:00
parent 6ce8a8ffd6
commit 48a42c8cd6
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -600,7 +600,7 @@ class Tmux
if ($this->isRunning() === true) {
TmuxModel::query()->where('setting', '=', 'running')->update(['value' => 0]);
$sleep = $this->get()->monitor_delay;
echo ColorCLI::header('Stopping tmux scripts and waiting '.$sleep.' seconds for all panes to shutdown');
ColorCLI::doEcho(ColorCLI::header('Stopping tmux scripts and waiting '.$sleep.' seconds for all panes to shutdown'), true);
sleep($sleep);
return true;
+1
View File
@@ -1,4 +1,5 @@
2018-02-14 DariusIII
* Chg: Update informational messages output
* Chg: Rename nntmux namespace and folder to Blacklight
* Fix: Fix echoing of cli messages (most of them)
* Chg: Update echoing of informational messages in update_groups.php
+2 -2
View File
@@ -38,7 +38,7 @@ if (! empty($session)) {
}
//reset collections dateadded to now if dateadded > delay time check
echo ColorCLI::header('Resetting expired collections dateadded to now. This could take a minute or two. Really.');
ColorCLI::doEcho(ColorCLI::header('Resetting expired collections dateadded to now. This could take a minute or two. Really.'), true);
$sql = 'SHOW table status';
$tables = $pdo->queryDirect($sql);
@@ -56,7 +56,7 @@ foreach ($tables as $row) {
}
}
}
echo ColorCLI::primary(number_format($ran).' collections reset.');
ColorCLI::doEcho(ColorCLI::primary(number_format($ran).' collections reset.'), true);
sleep(2);
function writelog($pane)