Re: [PHP] Linux command in PHP

2004-05-12 Thread Curt Zirzow
* Thus wrote Mike Mapsnac ([EMAIL PROTECTED]): > I have script that basically process a file. If something found in the > file, the script send email. > > 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

RE: [PHP] Linux command in PHP

2004-05-12 Thread Jay Blanchard
[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

[PHP] Linux command in PHP

2004-05-12 Thread Mike Mapsnac
I have script that basically process a file. If something found in the file, the script send email. 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 w