Jump to content

HELP: need to kill tasks by PID


Vixushr

Recommended Posts

Helo, i have one script that leaves active tasks from time to time.

I need to implement some sort od process ID tracking and to set KILL task command on every task that remains active for more than lets say 30 minutes.

 

Is this doable, can anyone help me on this?

Link to comment
Share on other sites

Pretty sure this is a cross thread.  He is running crontabs that never complete, and when he tries to run them again, his host disables his site for having more than 21 processes running.

 

http://www.phpfreaks.com/forums/index.php?topic=340951.0

 

There are problems with the download's, I would think that he isn't limiting the connection_timeout on a cURL call.  But, he didn't post that much code.

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.