• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Scheduled On/Off for Macintosh SE - Suggestions Needed

Hello 68kmla,

It's been a while since I played with my vintage Macs. I'm getting back into it by refurbishing a spare Macintosh SE with a RAM upgrade and a new battery. It is going to go on my desk at work. It is sure to attract attention as our IT environment is 95% Apple from 2008 to the current day.

What I would like it to do is automatically turn on/off at scheduled times. Is there some software/extensions/preference pane that will do this?

Also: Any other suggestions with what I could do with it other than run HappyPlusClock would be appreciated.

Thanks,

Ken

:beige:

 

Macdrone

Well-known member
I think in general settings even in system 6 there was an timed on and off, but with the SE not having soft power you may just want a plug timer that you get at like a hardware store. You may want to turn it off at night depending what OS you use so when the thing trips off power when it starts back up you dont get the dreaded this macintosh was not shut down correctly.

 

tecneeq

Well-known member
In case someone else is looking for a solution, i have this (30 Euros):

http://uberhost.dyndns.org/dokuwiki/doku.php?id=steckdosenschaltleiste

You connect it via USB to any unix and either switch it on and off as you please or programm it. I use it to turn off my aquarium lamps at night and when the temperature reaches a certain value (using a cheap USB sensor) in the summer.

The SE could send the commands to programm it via telnet or so to that unix box.

I also used a bunch of them in a small datacenter, so you could powercycle everything remotely from a remote network management console. Quite nifty, if i may say so :) .

 

tecneeq

Well-known member
I heard about 25% of the people in the US speak a bit german. I can't imagine why, but it seems to be true.

I'm sure there are similar devices on the US market, maybe even by Gembird. Gembird doesn't even sound german. A german manufacturer would be called Deutsche Elektrik und Elektronik Geräte Herstellungs GmbH, or something similarly short like that. |)

 
Wisconsin. Seriously?
Wisconsin. Ja wohl. There was a high density of German immigrants to the state in the mid to late 1800's. Is this an American history or a Mac forum? :p

I'm sure there are similar devices on the US market, maybe even by Gembird.
I'm looking into it now that the door has been opened.

 

Trash80toHP_Mini

NIGHT STALKER
While we have mostly done Macs, historically, the 68kMLA has been a Macs and "anything under the sun" kinda place. The fairly recent trend toward insistence that we should be more narrowly focused on just Macs by some relative newcomers is humorous . . .

. . . at best. ;)

My last name is Anglicized German and the family farm in Indiana dated from before the War of the Northern Aggression.

 

MinerAl

Well-known member
My dad grew up in western Kansas, where the Volga German Catholics all ended up a few generations earlier. There were still second generation old men when he was a kid who didn't speak a lick of English, or spoke English with a heavy accent and German sentence structure.

"To town we go!"

When next to town you go, see if there are any grounded lamp/Christmas light timers at the whatever-mart. If you can convince your SE to be at the "It is now safe to shut down your Mac," screen when the power cuts out and start back up when the power comes back, you'll be golden.

 

LCGuy

LC Doctor/Hot Rodder
Given that you live in the US, the PowerKey is an option for you. Always wanted one of these back in the day, though sadly they never made a 240V version.

 

Trash80toHP_Mini

NIGHT STALKER
. . . the dreaded this macintosh was not shut down correctly.
IIRC, you can just turn that warning off with a control panel somewhere. I don't think an SE really cares if its power gets whacked when it's hot, it's made for hard cycling.

I'll have to pull out the PowerKey Pro manual to see if it boots/shuts a Mac down properly on a timed cycle.

 

tecneeq

Well-known member
... it's made for hard cycling.
It's not the hardware you should be concerned about, it's the state of a filesystem. 8-o

If you just remove the power supply, your filesystem is in an undefined state. It might be that it's ok, it might be that there is a small error one can recover from, it might be that everything is just *poof* gone! :?:

Why is that?

Say your program wants to write 8kB data on disk. The operating system writes the data into a buffer (my filesystem cache is set to 2048kB), reports to the program that the data is written on disk, and marks the buffer as dirty. To clean the buffer, the operating system moves the data from the buffer to the harddisk (here, take that block of data and write it to address this-and-that). Depending on the harddisk, it takes blocks of data and either writes it directly to disk or stores them in a buffer. In either case, it reports back that the data is written to disk!

So, first your operating system lies, then the disk. In both cases the data is still in a buffer. You can imagine what happens if the data is in a buffer and you remove the power supply. I*poof* t's gone.
vent.gif


But that's not the worst of it. 8-o

The harddisk is totally agnostic to the importance of the data. You know that data is organised on disk by a filesystem. The filesystem for most of our old macs is called HFS, (NT3.5 and greater prefers NTFS, Linux knows several dozens, and uses EXT4 in my case). If you write a blob of data into the filesystem, at least two blocks get changed, the block where no data is and your blob will end up and the block that contains the table of contents, which is a table that says file ''Homework'' is on block 3425 to 3429 (simplified).

Both, the blocks with the data nd the blocks with the table of contents, look to the harddisk like just blocks. Both might end up in a buffer before they are written on disk. Imagine the data is already written to disk and the table of contents isn't yet. How can you ever find your data again? Imagine your table of contents is large and uses more than one block and one block is on disk, the others are not? You would end up with an invalid table of contents.

Modern filesystems use backups of the table of contents, in case the original is inconsistent. Even more modern filesystems use a journal, that is, they lock the table of contents, write the data, write to the table of contents and unlock if all is done. If something happens, the old state of the table of contents is still there and every write or delete action since then is automatically voided. All these steps are still perverted by harddisk buffers, which are grown today to several megabytes (32 in my case).

Even if your instruct your filesystem explicitly not to use the buffers by mounting it with the option sync in my example, some harddisks still use buffers. They just lie and say they don't! That is a major concern for people that do more than just playing Doom *cough-cough*. That is also the reason why we don't measure disk performance in "computer-to-disk", but "disk-to-buffer" and "buffer-to-computer" today.

Luckily, in the olden days, when we used to write computer with a capital K, the buffers where small and filesystem transactions where mostly synchronous, instead of mostly asynchronous as they are today. But you can not be sure. Ever! Even marking your filesystem as "readonly" might be ignored by some systems. For example, the time of last mount might be written into the filesystem.
vent.gif


And that is why you shut down your operating system properly, telling it to flush all buffers, which then tells the harddisk to flush all buffers. :approve:

I hope my writing makes sense to you and you can look past my crude application of the english language. |)

 

beachycove

Well-known member
Like most (West) Germans of a certain age, your English is excellent. Wir sprechen nur ein bissien Deutsch (or something like that -- it's been a while).

I thought what follows rather well done, by the way. It gave me a chuckle. The only thing I would say is that you really need a separable verb with a 17 clause sandwich and a beer to make the effect complete!

When next to town you go, see if there are any grounded lamp/Christmas light timers at the whatever-mart. If you can convince your SE to be at the "It is now safe to shut down your Mac," screen when the power cuts out and start back up when the power comes back, you'll be golden.
 

JDW

Well-known member
Buy the PowerKey Classic. I purchased one for my SE/30 in May 2007, direct from the manufacturer. They still had stock at the time. It works beautifully. Since I live in Japan, a country that trivializes the importance of an earth ground, I asked Sophisticated Circuits about compatibility. Here is what they told me:

The PowerKey Classic has 1-way surge protection (1 MOV, between hotand neutral only), and should be fine in Japan. (In fact, we sold

tens of thousands of them there.) We even have some japanese

localized software for it! (The Classic, however, was only made with

the 3-prong plug – we never produced a version with the 2-prong plug

& separate wire. I'll throw a grounding adapter in, though.)
Japan also uses 100V power at either 50Hz or 60Hz (depending on where you live), but the PK Classic works just fine for me.

 
Top