Fix build

This commit is contained in:
Romain Neutron
2012-03-20 13:40:00 +01:00
parent d4e6a716d9
commit 4c7f3897bf

View File

@@ -25,6 +25,7 @@ use Symfony\Component\Console\Command\Command;
class module_console_taskrun extends Command
{
private $task;
private $shedulerPID;
@@ -110,12 +111,16 @@ $this->task->log(sprintf("%s [%d] taskrun : returned from 'run()', get_status()=
{
$runner = task_abstract::RUNNER_MANUAL;
}
}
public function tick_handler()
{
static $start = FALSE;
if ($start === FALSE)
{
$start = time();
}
if (time() - $start > 0)
{