Files
newznab-tmux/bin/processAlternate.php
T
2013-01-01 15:42:21 -05:00

22 lines
375 B
PHP
Executable File

<?php
require("config.php");
require_once(WWW_DIR."/lib/postprocess.php");
require("pid.php");
$filename = pathinfo(__FILE__, PATHINFO_FILENAME);
$pidfile = new pidfile("/tmp", $filename);
if($pidfile->is_already_running()) {
echo "Already running.\n";
exit;
}
$i=1;
while($i=1)
{
$postprocess = new PostProcess(true);
$postprocess->processAdditional();
}