Php script to KILL cron job
Posted on 2009-04-05
Since I am unable to run terminal commands, how would I create another php script to stop a runaway cron job. I have already gotten the runaway to output:
Current user : flyxxxx
PID : 14379
Script owner's user ID : 33025
Script owner's group ID : 33027
This is running on a publicly hosted Linux server.
Yes, I know a possible answer is to write better code in the first place!! But those infinite loops are so fun to create.