Posted by Easynews on 12/11/05 05:07
I've looked back at some old posts, and all seem to point to no answer for
this. These posts were old so I'm wondering if there if someone has come up
with anything new lately.
Basically I have one PHP command line script that uses the exec funtion to
open a 2nd PHP script. The 2nd PHP script runs the 'mount' command to mount
some cifs shares. Occasionally the mount command will hang on certain shares
of computers. Is there anyway that I can timeout an exec command so that it
continues on? I thought a read something about being able to timout
backticks? I can use backticks if needed, but I'm not sure how that works.
Thanks,
Max
Navigation:
[Reply to this message]
|