while true time strftime dT mktime system nohup usr bin php runpings p

1
2
3
4
5
6
7
while (true) {
$time = strftime("%Y%m%dT%H:%M:%S", mktime());
system("nohup /usr/bin/php runpings.php $time > /dev/null &");
system("nohup /usr/bin/php run.php $time > /dev/null &");
echo "executing for $time\n";
sleep(60);
}