• 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 Reboot Restart Cron for System 6 and 7?

Admiral Ackbar

Well-known member
Hi all. Looking for something that can make Mac Plus (and also PB 180 bw) restart every few hours. System 6.0.8 and 7 using a scheduler agenda timetable.


I put in all of the title terms in a search here, didn't find anything, so asking here directly. 🙂

Thanks.
 

MacKilRoy

Well-known member
In the old days I used a HyperCard stack that ran in the background as an application. I didn’t (and still don’t) know any other way to do it.

Servers in the early 90s were not “reliable” and often benefited from a restart. So it would trigger one at a set time (usually midnight) but sometimes 4am.

This would work in system 7 but I don’t think system 6.
 

Admiral Ackbar

Well-known member
In the old days I used a HyperCard stack that ran in the background as an application. I didn’t (and still don’t) know any other way to do it.
[snip]
Interesting. My plan is to have a full-screen HyperCard stack running in the foreground displaying some info it gets from a network share (using the magic of AirTalk). If I could get the display and restart to all be HyperCard based, that'd be fine with me.
 

Powerbase

Well-known member
When in doubt, use Hypercard. It'll probably need an external for restarting though. I don't Hypercard could do that on its own.
 

LaPorta

Well-known member
Why not use HyperCard and an AppleScript in it that does something like “tell application Finder restart” or some such at a certain time.
 

MacKilRoy

Well-known member
Why not use HyperCard and an AppleScript in it that does something like “tell application Finder restart” or some such at a certain time.
^^ This

I had a Hypercard stack script that monitored the time for being after the next triggered event.

Something like:
Code:
if the seconds > nextRestartTime then
tell application finder Restart
end if

Then, when the stack is opened, using on OpenStack I would insert new restart time by taking current time and adding the next increment, like 86400 (which is 24 hours)

Not exact, this won't work, but should guide you. It's been a few minutes since I did this.
 
Top