[snip] Today I tried to add another option, that gives sound and send email. The script works ok when I run from shell. But when I add the code to cronjob, the email is send but NO SOUND. Any ideas what can cause such problem?
# Below the code that start the xmms sound $alert = "/usr/bin/xmms /home/mike/Desktop/song1.mp3"; `$alert'; [/snip] The problem is caused by bad code. See http://www.php.net/exec -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php