tux_linux 0 Report post Posted October 10, 2004 HI!!I have a question about CGI!! Can i write C scripts and execute it on the server?????if yes is there a timeout, or can i write a script, that is never stoped???cu tux Share this post Link to post Share on other sites
lhunath 0 Report post Posted October 13, 2004 How do you mean, never stopped? The output is going to have to end somewhere if you ever want to be able to output it.If you mean like a script in the background that changes the database every so ofter or so, then that's something completely diffrent.Your script needs to give some sort of output, be it HTML, an Image, or whatever is of use in your web application, but I'm reconing you're not planning on uninteruptedly sending and sending output to your users that enter your page...... Share this post Link to post Share on other sites
tux_linux 0 Report post Posted October 13, 2004 thx for your answer!!yes i want to make a script what modifys the database and it should run in the background.How can i do this???????cu Share this post Link to post Share on other sites
lhunath 0 Report post Posted October 13, 2004 Then you need to have a background process running. Log in with SSH and start the process, press Ctrl-Z, you'll see that the process is Stopped. Type "bg" to send it to the background and it'll continue in the background. Typing "fg" will bring it back to the foreground.I'm not sure whether background processes are allowed, though. Share this post Link to post Share on other sites
cool1405241471 0 Report post Posted October 18, 2004 where am I can to learn CGI? Share this post Link to post Share on other sites
lhunath 0 Report post Posted October 18, 2004 where am I can to learn CGI? <{POST_SNAPBACK}> Google is your friend! Share this post Link to post Share on other sites