Click to See Complete Forum and Search --> : Anyone have a cron job that ran between 0200 and 0300 last night?


Sxooter
04-02-2006, 08:13 PM
Nope. Cause if you were in a Daylight Savings time zone, they didn't run. might wanna check up on that. And, move them to another time, since they'll run two in the fall to make up for it...

dalecosp
04-02-2006, 11:04 PM
Yup. No crons in the 2 a.m. slot. Everything in the comp world starts at 3 a.m.

Or midnight. Moved my backup from 0303 to 0003 'cause it was starting to take to long. Then, just got an additional drive and switched from tar + bz2 to dump piped to restore. Much faster.

MarkR
04-03-2006, 05:24 AM
There are several things wrong with this:

1. In our country, the DST switch happened last weekend.
2. All my server machines have their clocks in GMT anyway, so nothing changes.

You are making assumptions about peoples' systems.

Mark

Sxooter
04-03-2006, 06:22 AM
nitpicks. the basic philosophy still applies, yes? I.e. if it's a week ago, or two weeks from now, a cron job scheduled to run at 0215 on a sunday morning is a very bad idea.

Plus, I think the title was long enough without adding in those timezones that changed time last night. Plus, that title would kind of give away the joke inside the body of the post.

csn
04-03-2006, 03:56 PM
So what happens in the fall - would cron entries between 2-3 am run twice? :P

Sxooter
04-03-2006, 04:01 PM
So what happens in the fall - would cron entries between 2-3 am run twice? :P

exactly.

dalecosp
04-03-2006, 04:42 PM
Yes, and so I don't schedule any cron jobs between 0200 and 0300 local time.

Sxooter, thanks for the thread. On occasion I think I'm the only one starting joke threads in the EL anymore ... I know it's not completely true, but I sure enjoy the EL, and humor posts are what "keep the EL spirit alive" ... ;)

dalecosp
04-03-2006, 06:49 PM
There are several things wrong with this:

1. In our country, the DST switch happened last weekend.
OK; of course, my servers know where they are and when it changes, because the BSD team takes this pretty seriously....

Another place where I laugh at MSFT Windows ... of course, maybe I shouldn't on this one. Why do they only check time-servers once a week or every few days? Granted, I haven't seen any overly large time slew's on a Winbox that actually had a working BIOS battery, but I wouldn't necessarily trust an Exchange server to timestamp mail correctly unless it checks more often....and, yeah, yeah, you get get NTP servers for Windows ... but why can't they just build it in ... oh, nevermind ....

csn
04-03-2006, 08:47 PM
"time slew's", lol what's that?

I don't think my FC4 box updates its time via time servers. How do I do that, lazyweb?

Sxooter
04-03-2006, 09:13 PM
time slew refers to the small drift in time you get when the time on your server moves off of "real" time (i.e. what the atomic clocks say it should be).

You can use ntp to have your machine automagically keep proper time with the help of the internet time servers.

And dalecosp, you SHOULD make fun of windows here. The timezone database in it is never up to date, and is often full of incorrect offsets and missing zones. it's a joke.

Now, if the BSD team would just get the locale support up to the same level as Linux... but that's another issue altogether.

dalecosp
04-03-2006, 09:54 PM
Yeah, might be an issue.

There may be a few zones yet in which no one runs *BSD. Or at least not one of the 3 big BSD's, and maybe they don't share enough... and LOCALE may well be an issue. Apparently BSD syntax (?) is scary enough that people in some countries don't wanna try it out ;) *

And, I really *am* scared of Windows seeming lack of concern about synchronization; in particular, the fact that, like everything else, if you want sync you probably have to cough up cash for it, when in the FOSS OSes it's just a matter of a couple of config files and a Google search for a top stratum that's accepting subscriptions...

I run one of my servers on 2nd stratum and all my other boxes, and my client's boxes, sync to it. I've done my part there, I figure.

*Heh, so SysV is so much better? Must be the GUI's....

Sxooter
04-03-2006, 11:25 PM
Yeah, the locale issue (i.e. string character collation and character sets) is still not really "done" in BSD, which is a shame.

It's a common subject on the postgresql admin mailing list, and one of the reasons a lot of folks run databases on linux over BSD, when in many other ways BSD would be the better choice.

dalecosp
04-03-2006, 11:40 PM
Well, threads is/was an issue for a while. Looks like it's better now that they've moved (quite quickly) from 5.X to 6.X.

While we're discussing April Fools', (well, not really, but, y'know) ... the foolie in FBSD land was the announcement of 2.2.9 (2.2.8 was out 87 months ago....)

And, in re: LOCALEs ... does `locale -a | wc -l` work for you, and, if so, what result? (My only Penguin box isn't ... just a Knoppix CD)....

csn
04-04-2006, 04:14 PM
OT: Hey Sxooter, would you buy one of these NASs:

http://www.newegg.com/Product/ProductList.asp?DEPA=0&type=&description=infrant&Submit=ENE&Ntk=all&N=0&minPrice=&maxPrice=&Go.x=0&Go.y=0

Or build your own using Linux and its RAID capabilities (which I've never used)?

Sxooter
04-04-2006, 06:16 PM
And, in re: LOCALEs ... does `locale -a | wc -l` work for you, and, if so, what result? (My only Penguin box isn't ... just a Knoppix CD)....

locale -a | wc -l
566

Sxooter
04-04-2006, 06:26 PM
OT: Hey Sxooter, would you buy one of these NASs:

http://www.newegg.com/Product/ProductList.asp?DEPA=0&type=&description=infrant&Submit=ENE&Ntk=all&N=0&minPrice=&maxPrice=&Go.x=0&Go.y=0

Or build your own using Linux and its RAID capabilities (which I've never used)?

I'm kinda leary about most small RAID boxes, because you never really know what you're getting til you install it and test it.

If you need LOTS of spindles and battery backed write back cache, then you'll use a whole different setup than if you just need massive storage on a few spindles for streaming you video collection.

That said, those units look useful.

Note that often, for big fast databases what you need is LOTS of drives in a RAID 1+0, and many many many hardware raid controllers just suck horribly at layered RAID.

The linux kernel used to have maximum suckitudeness in it too (serialized the data stream, so it was only as fast as the slowest part at all times)

So, the RAID controller is very important depending on how you're going to configure your RAID array.

csn
04-04-2006, 06:31 PM
Yeah, I'm interested in a home storage NAS - so RAID 5. Infrant's NASs have gotten good reviews at Tom's:

http://www.tomsnetworking.com/2006/03/03/infrant_readynas_nv/index.html
http://www.tomsnetworking.com/2005/08/19/head_to_head/

And since this is a time-related thread ;), if you're up early tomorrow morning you'll be able to see this time:

01:02:03 04/05/06

Whee.

Sxooter
04-04-2006, 06:39 PM
Yeah, I'm interested in a home storage NAS - so RAID 5. Infrant's NASs have gotten good reviews at Tom's:

http://www.tomsnetworking.com/2006/03/03/infrant_readynas_nv/index.html
http://www.tomsnetworking.com/2005/08/19/head_to_head/

And since this is a time-related thread ;), if you're up early tomorrow morning you'll be able to see this time:

01:02:03 04/05/06

Whee.

If you're doing mass storage, most external RAIDs are about equivalent. So yeah, they look pretty good.

About the date thing, if you're in Europe, you can wait until the 4th of May, and see

01:02:03 04/05/06 as well. haha (they do it dd/mm/yy)

csn
04-04-2006, 06:42 PM
And for the database nerds ;)

06-05-04 03:02:01

Hmm, wonder if 06 will work without the leading '20'...

Sxooter
04-04-2006, 07:30 PM
And for the database nerds ;)

06-05-04 03:02:01

Hmm, wonder if 06 will work without the leading '20'...

That's how Oracle does it! (Not that I'm saying it's the right way...)

dalecosp
04-04-2006, 07:33 PM
locale -a | wc -l
566So I see. "234" here, on a system dating from Jan 11. Just need a few more Linux nerds to get back to their, um, roots, and maybe we'll have enough....

dalecosp
04-04-2006, 09:48 PM
Incidentally, aren't there less than 300 countries to begin with?

Any chance that a localization for 'Inuit girls verbally abused by Walruses who speak Finnish' is, um, overkill? :D

dalecosp
04-04-2006, 10:13 PM
Sorry, meant "less than 400"....

csn
04-04-2006, 10:31 PM
Apparently Japan uses yy/mm/dd.

Also, 06:06:06 06/06/06 will be coming up in two months!

Sxooter
04-05-2006, 12:36 AM
Incidentally, aren't there less than 300 countries to begin with?

Any chance that a localization for 'Inuit girls verbally abused by Walruses who speak Finnish' is, um, overkill? :D

I can't believe how insensitive you are to inuit girls verbally abused by Walruses who speak Finnish. they're people too ya know?

:p

Sxooter
04-05-2006, 12:57 AM
Oh, and is that inuit girls who speak finnish who have been verbally abused by walruses, or is it the walruses who speak finnish.

Oh wait, those are probably two distinct locales, aren't they? See! I told you the BSD guys were slacking off again. haha.

Actually, the real problem, joking aside, appears to be that the collations used by BSD aren't complete for the locales that do exist there. It's not the like the ones used by linux are perfect either. Every six months or so someone finds a flaw in one of the obscure locales for linux.

And there are some things that just can't be easily resolved, like Romanian, where cz zz czz z (I think that was them, there might be an h involved in this too. Look in the pgsql-general archives for a lively discussion a few months ago on it) and a few other combinations mean the same thing, but only in certain words, and in other words they aren't actually combinations, they just happen to occur next to each other. Locales are a *****, and apparently they're not the kind of sexy programming that attracts babes or anything either.

Elizabeth
04-06-2006, 09:05 PM
Also, 06:06:06 06/06/06 will be coming up in two months!
Yes, and my daughter turns 6 on that day too!

Coincidence? I think not!

Sxooter
04-07-2006, 01:21 PM
That would make her the Spawn of Satan! Elizabeth, we never would have guessed you'd been canoodling with demons. Or is that daemons? hmmm. :)

csn
04-07-2006, 03:10 PM
Heh. Rosemary's Baby. Or Damien.

dalecosp
04-07-2006, 07:22 PM
Heh. Rosemary's Baby. Or Damien.Tsk, tsk. You forgot a smiley ... if you get taken seriously, there's a MBL* that can actually do some damage a waitin' for ya.... ;)

Elizabeth, we never would have guessed you'd been canoodling with demons. Or is that daemons? hmmm.Well, she won't "canoodle" with any of us, and with good reason, methinks; so I'm seriously doubting your conjecture as well. OTOH, after being accosted continually by us for four years or more, perhaps Ol' Nick was starting to look pretty tame :D

dalecosp
04-07-2006, 07:23 PM
*Mighty Big LART

csn
04-08-2006, 04:39 AM
Tsk, tsk. You forgot a smiley ... if you get taken seriously, there's a MBL* that can actually do some damage a waitin' for ya.... ;)
I'll use smileys whenever I want. And tsk tsk on you for not explaining what a "MBL" is.