Keep a PHP file running

Discussion in 'Site & Server Administration' started by Angadude, Jul 11, 2009.

  1. #1
    Hello guys, I run a free online real-time radio service that's based on PHP @ http://www.liveips.com/

    I want a way to keep my radios playlist playing even with my computer switched off, using cPanel's cronjob feature.

    Of course, I can't use the timer feature as each song on the playlist is of variant lengths. Is there a way I can keep something parallel to a small popup window open, server-side?

    ...or is my best bet having a timed cron to a file that checks if the first song is done and then goes live with the next song?

    Thanks for your time!



    Edit: Nvm, I just started working on alternative #2. Prolly the only way out.
     
    Angadude, Jul 11, 2009 IP