Remote Start a PHP Script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Bob Norris
Forum Newbie
Posts: 8
Joined: Wed Sep 08, 2004 3:01 pm

Remote Start a PHP Script

Post by Bob Norris »

Hello ,,

New to php but I have a script that I just moved over to a windows server. When it was on a unnix server I would send this command in SHH to start it:
cd private
/usr/bin/php -f room_bot.php &

Now that the script is on a windows server I cant seem to find a way to start it. I can start it in my browser but it times out at 120. THis script needs to run 24/7 all year round. Any Help??

Bob
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

[php_man]set_time_limit[/php_man]
Post Reply