mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Update informational messages output
This commit is contained in:
+1
-1
@@ -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,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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user