The Official Forum  

Go Back   The Official Forum > Softball
Register FAQ Community Calendar Today's Posts Search

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old Thu Sep 25, 2008, 11:10am
Official Forum Member
 
Join Date: Apr 2007
Location: NC
Posts: 4,361
Quote:
Originally Posted by Skahtboi View Post
Yeah...but what about the one you were talking, the one in my last post about "solaris linux crontab" crap???
Well, cron is a daemon that runs in the background on any Unix-base OS (such as Mac OS X, solaris, Linux, BSD, etc.), and all it does is kick off jobs that you set on a "crontab." The crontab says when exactly certain commands or scripts should be run, and on what schedule (such as "Every Monday, Wednesday and Friday at 12 PM").

So basically, I've set my web server at home (which happens to be a Mac server, as well as the server running the slow-pitch umpiring website I've mentioned before) to be the machine that periodically runs this script every day at noon. I'm going to have to modify the script a little to account for the fact that Time Warner probably wouldn't want me sending 20 emails of the same content to different recipients in under 5 seconds (spam? what's that?).

The script won't work on a Windows machine, as Windows doesn't use the same commands that Unix flavors do. It'd have about the same reaction to my script as Skahtboi did to my previous post (ie., "wtf?").
__________________
Dave

I haven't decided if I should call it from the dugout or the outfield. Apparently, both have really great views!

Screw green, it ain't easy being blue!

I won't be coming here that much anymore. I might check in now and again.
Reply With Quote
  #2 (permalink)  
Old Thu Sep 25, 2008, 12:39pm
Official Forum Member
 
Join Date: May 2007
Location: LA
Posts: 642
Talking

Quote:
Originally Posted by NCASAUmp View Post
Well, cron is a daemon that runs in the background on any Unix-base OS (such as Mac OS X, solaris, Linux, BSD, etc.), and all it does is kick off jobs that you set on a "crontab." The crontab says when exactly certain commands or scripts should be run, and on what schedule (such as "Every Monday, Wednesday and Friday at 12 PM").

So basically, I've set my web server at home (which happens to be a Mac server, as well as the server running the slow-pitch umpiring website I've mentioned before) to be the machine that periodically runs this script every day at noon. I'm going to have to modify the script a little to account for the fact that Time Warner probably wouldn't want me sending 20 emails of the same content to different recipients in under 5 seconds (spam? what's that?).

The script won't work on a Windows machine, as Windows doesn't use the same commands that Unix flavors do. It'd have about the same reaction to my script as Skahtboi did to my previous post (ie., "wtf?").


lol and I thought i was a 'puter nerd.... Dude you rock!!
__________________
Will Rogers must not have ever officiated in Louisiana.
Reply With Quote
  #3 (permalink)  
Old Thu Sep 25, 2008, 01:37pm
Official Forum Member
 
Join Date: Apr 2007
Location: NC
Posts: 4,361
Quote:
Originally Posted by CajunNewBlue View Post
lol and I thought i was a 'puter nerd.... Dude you rock!!
There are plenty of guys/gals who are WAY beyond me when it comes to being a computer nerd. I once put "if you can read this, you're a geek" into an ASCII-to-binary translator, and wrote it on the white board at my old job. My old boss walked by, stood in front of it for a moment, then turned to me and said, "what's wrong with being a geek?"

And by the way, it looked like this:

01001001 01100110 00100000 01111001 01101111 01110101 00100000 01100011 01100001 01101110 00100000 01110010 01100101 01100001 01100100 00100000 01110100 01101000 01101001 01110011 00101100 00100000 01111001 01101111 01110101 00100111 01110010 01100101 00100000 01100001 00100000 01100111 01100101 01100101 01101011 00001101 00001010

Wow.

Although my joke at work is "why work when you can script?"
__________________
Dave

I haven't decided if I should call it from the dugout or the outfield. Apparently, both have really great views!

Screw green, it ain't easy being blue!

I won't be coming here that much anymore. I might check in now and again.
Reply With Quote
  #4 (permalink)  
Old Thu Sep 25, 2008, 01:44pm
Official Forum Member
 
Join Date: Jun 2006
Location: Upstate, SC
Posts: 440
Reminds me of when I fixed the hex values in the joke e-mail about the mysterious letters that appeared when you heated your Windows XP CD in the microwave. I made them actually have the ASCII codes for the letters that were supposedly there, since the author hadn't taken the time to get it right.

But converting binary to ASCII on-the-fly in one's head--Man, that IS geeky. I would only get through a few letters before my head hurt too much to retain the letters I'd already translated.

BTW, were the CR and the LF really necessary?
__________________
Just Tryin' to Learn...

Last edited by JefferMC; Thu Sep 25, 2008 at 01:48pm.
Reply With Quote
  #5 (permalink)  
Old Thu Sep 25, 2008, 01:56pm
Official Forum Member
 
Join Date: Apr 2007
Location: NC
Posts: 4,361
Quote:
Originally Posted by JefferMC View Post
Reminds me of when I fixed the hex values in the joke e-mail about the mysterious letters that appeared when you heated your Windows XP CD in the microwave. I made them actually have the ASCII codes for the letters that were supposedly there, since the author hadn't taken the time to get it right.

But converting binary to ASCII on-the-fly in one's head--Man, that IS geeky. I would only get through a few letters before my head hurt too much to retain the letters I'd already translated.

BTW, were the CR and the LF really necessary?
Cheater.
__________________
Dave

I haven't decided if I should call it from the dugout or the outfield. Apparently, both have really great views!

Screw green, it ain't easy being blue!

I won't be coming here that much anymore. I might check in now and again.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:08am.



Search Engine Friendly URLs by vBSEO 3.3.0 RC1