Jump to content

Recommended Posts

Posted

hello i've a compiled web application and the compiler gave me also a cgi/perl script to run it. The problem is that when running the script the application start loading but then "goes offline" according to the UI. is there any timer who kills the exe? or the cgi is killed along with child process?

i tried to write a php script to do the work but i got exec() is disabled for security reasons... Can you help me?

 

Thanks in advance.

Posted

If the script takes too long to execute it will automatically time out. For php scripts I believe it's 30 seconds and I would think cgi/perl scripts would be the same.

Posted

There's nothing that can be done about the execution time. If it's possible you might try to break up your script in to two or more scripts.

Posted

And it wouldn't get killed. If it is so i'll give it a try.

 

can the application listen on a port like 6632 ? Then i would acces the site by appending ":6632" to the domain name. if i put the application executable(called 'nsite') in /home/username then in cron command i would write "/home/username/nsite" ? (with or without brackets)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...