The Little Guy Posted April 4, 2010 Share Posted April 4, 2010 OK, I run a script in putty which starts this script: #!/home/ryannaddyps/php/bin/php -q <?php shell_exec('$HOME/firebase/firebase > /dev/null'); ?> and it never runs the firebase script, which currently looks like this: #!/home/ryannaddyps/php/bin/php -q <?php echo 'in firebase'; ?> Why isn't it starting? Link to comment https://forums.phpfreaks.com/topic/197558-starting-a-script/ Share on other sites More sharing options...
DavidAM Posted April 4, 2010 Share Posted April 4, 2010 How do you know it is not running? You have redirected the output to /dev/null which means "throw away anything that comes out of this script, I don't want to see it, don't bother showing it to me!". If you are expecting to see the output, you need to remove the "> /dev/null" from the startup script. Link to comment https://forums.phpfreaks.com/topic/197558-starting-a-script/#findComment-1036848 Share on other sites More sharing options...
The Little Guy Posted April 4, 2010 Author Share Posted April 4, 2010 OMG haha Thanks! Link to comment https://forums.phpfreaks.com/topic/197558-starting-a-script/#findComment-1036851 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.