Thinking out loud. It might be preferable to run this as a scheduled task instead of when a new thread is posted. It could be set up so that the time the script was last run is stored, and every time it's run, it checks to see if any new threads have been posted in forums that are set up to ping. If there are, it would ping the servers and log a report about the status of the pings.
|