Public feed #379422

Untitled

public text v1 · immutable
Raw Edit
·published 2007-03-03 06:58 UTC
rendered paste body
#!/usr/bin/php -q
<?php
	$tSecs = 1;
	$tArgc = $_SERVER['argc'];
	if (2 == $tArgc) {
		$tSecs = $_SERVER['argv'][1];
	}
	echo "Pausing for $tSecs seconds\n";
	echo date('h:i:s') . "\n";
	sleep($tSecs);
	// try this.
	exec("aplay /home/brussel/Desktop/DL/ding2.wav");
	echo date('h:i:s') . "\n";
?>