The “moronic rage” was in response to your invalid claim of me being condescending towards you. You admit that you misread my post. That’s good. That means you can also see that your quote of syntax that I obviously knew was suggesting that I had done something wrong. Since I knew I hadn’t, ANYONE should see your initial response as being condescending to me, first. As such, you bet you got treated as the idiot involved. This is especially true when you have the “Know it all” title and blatantly responded in a way that showed you didn’t know it all.
No, I have never been banned on this site. I did get banned on Curse for merely pointing out that one of their staff was being rude to users during a period of known and documented connection issues with their service. I wasn’t mean about it. I simply pointed out that what they said, and when they said it, was doing exactly the same thing they were attacking users for. In fact, they also quoted something that happened to be already on the exact same page as their comment, but was invalid due to the (at the time) connection issues that the users were commenting about. That was also something that I pointed out and suggested that they may wish to actually research the users complaints before being rude in the future. That moderator has a history of being very rude to users, but I was as polite as I could be. The result was banning my account on their forums and placing an IP address block on a couple of their other sites. Absolute power corrupts absolutely (just look at U.S. politicians for proof of that). In essence, the people behind Curse make you seem like a saint, and you’re not even close (nor am I, but I don’t ever claim to be).
As for “court ordered anger classes”, I’ll assume that you have already been through that. My “anger” is always provoked. If you don’t see it, you need to take a sensitivity class to start thinking about what and how you say things so that you don’t upset others (seemingly on a fairly regular basis). You are KNOWN to be a jerk, and that’s being polite. With me, I give what I get. Don’t like to get mistreated? Don’t ever mistreat me. I tend to amplify whatever I get. If I’m treated nice, I treat the other person better. If I’m treated badly, the other person will be treated worse. Even with your admitting that you misread me, you still attacked me, immediately after admitting fault, with the whole “anger classes” remark. Which one of us has the real problem? Look in the mirror before you even consider saying it’s me.
—back to original topic—
Another use for this script is placing it in a shell script to execute a common command. I imported SQL updates earlier today. Instead of issuing a reload command to scan in the changes, I sent a “server restart 300” command. Rather than type that command every time I intend to use it, I simply made a shell script called “restart” that calls this perl script with that command. I will probably enhance that shell script to default to 5 minutes, but allow a parameter to adjust the delay.
While there were shell scripts available, none of them covered all of the functionality that I desired. So, I wrote my own. This perl script and 3 (bash) shell scripts are on my pastebin. A single crontab entry can be set to send a maintenance shutdown command (I default to an exit code of 3 for that, but that can be changed). The crontab entry is the primary reason behind my desire for this perl script. If the core had a setting to exit for maintenance, the crontab entry wouldn’t be needed, but I’d still use the perl script as a convenience. Why log in every time (via ssh/telnet to the server, RA, or SOAP) you need to issue a single command when a perl script can do the login for you? The beauty of this perl script is that it can be run from a totally different machine than the one running server. In my case, I run my server on a Linux computer, but can use this script from my Mac. Click a dock icon and type a simple command (aka “restart”) or click that same icon, issue an ssh command, type in my remote password (or use a programmed F-key to make it easier) and THEN issue the same command. Honestly, which is easier?