in reply to Re: CGI and Sleep?
in thread CGI and Sleep?

What is this supposed to be doing exactly? It kind of looks like you're using a perl cgi to manage some kind of audio playlist? Maybe shoutcast or something? I'd try and find a way to append this information to a playlist instead of executing whatever it is you're executing over and over again.

Cgi and sleep don't tend to go well together, because cgi is really for an execute-once and then expire kind of thing. You might want to actually have a separate server daemon that gets fed info from the cgi but always runs on its own and can handle queuing your selections ... my 2 quatloos ...

-mr.dunstan

Replies are listed 'Best First'.
Re: Re: Re: CGI and Sleep?
by jellisii (Novice) on Jun 26, 2001 at 04:35 UTC
    I've got a Linux machine (using alsa drivers and a monster 3d sound card that was lying around) sitting under my stereo playing audio files for me. I wanted it headless (I'm very space limited, and most of the time I or my roommates are at PCs when this is playing anyway), so I'm doing all of the control from a web form. I'd do it all from console, but It's a bit daunting for my roommates to handle that, plus, I thought it'd be an easy project... geuss I was wrong on *that* one! :) If there's a better way, I'm open to suggesstions!