Files
newznab-tmux/misc/update_scripts/nix_scripts/tmux/bin/showsleep.php
T

12 lines
340 B
PHP

<?php
require_once realpath(dirname(dirname(dirname(dirname(dirname(__DIR__))))) . DIRECTORY_SEPARATOR . 'indexer.php');
use newznab\ConsoleTools;
// This script is simply so I can show sleep progress in bash script
$consoletools = new ConsoleTools();
if (isset($argv[1]) && is_numeric($argv[1]))
{
$consoletools->showsleep($argv[1]);
}