ftp.nice.ch/peanuts/GeneralData/Usenet/news/1991/CSNMisc-91.tar.gz#/comp-sys-next-misc/1991/Dec/command-to-switch-NeXT-on+off?

This is command-to-switch-NeXT-on+off? in view mode; [Up]


Date: Sun 29-Dec-1991 09:09:01 From: root@site Subject: command to switch NeXT on & off? I want to switch my NeXT on at a certain time (e.g. every day at 3 am) and then some programms should be started (e.g. uucico). After this he should be switched off by a command. Is this possible? I know the possibility to turn the NeXT on in preferences, but this is no way for every day. Perhaps someone has written a short program or batch. You can email me your solution (please not more that 1 MB!), I am looking forward to it. Thanks
Date: Sun 30-Dec-1991 03:28:24 From: dpp@athena.com (David Pollak) Subject: Re: command to switch NeXT on & off? In article <1991Dec29.100901.1122@martinhost.hanse.de> root@site writes: > I want to switch my NeXT on at a certain time (e.g. every day at 3 am) and then > some programms should be started (e.g. uucico). After this he should be > switched off by a command. Is this possible? > > I know the possibility to turn the NeXT on in preferences, but this is no way > for every day. Perhaps someone has written a short program or batch. You can > email me your solution (please not more that 1 MB!), I am looking forward to > it. > It is smart to leave the machine on all the time. First, many cron jobs run at different times. Second, the more times you switch a machine on and off, the more you wear at the moving parts (i.e. disk drives.) David Pollak Director, Boston Computer Society, NeXT Feeder of the Bears, Athena Design, Inc. dpp!dpp@uu.psi.com NeXTMail cool
Date: Sun 31-Dec-1991 06:02:08 From: alberto@parsec.uucp (Manuel Alberto Ricart) Subject: Re: command to switch NeXT on & off? While it seems tempting to leave the machine on at all times - I for one (Macintosh habit?) think of the computer more as an appliance. ie when done using for the day the power goes off. Save the screen issue. Is it that much better to leave it on - ALL_THE_TIME? Or is it justifiable to save a few kilowatts, and a few screens by turning it off after a days use - Responses greatly appreciated. Regards,
Date: Sun 30-Dec-1991 21:43:28 From: cbaur@blabel.sta.sub.org (Christian Baur) Subject: Re: command to switch NeXT on & off? root@site writes: >I want to switch my NeXT on at a certain time (e.g. every day at 3 am) > and then >some programms should be started (e.g. uucico). After this he should be >switched off by a command. Is this possible? You can do this by opening /dev/vid0, setting the time with an ioctl call and closing the device. vid0 is a special device for all sorts of nvram settings (see /nextdev/video.h and mon/nvram.h). The Preferences program uses the same routines. A little script which has to be executed every time the NeXT is powered down, can set the next auto-power-on time. The power-down can be done with a shutdown -h -p. If more people are interested in the simple routines, I will post them. feature. The Cubes never had it. My Station's board was exchanged during a failure (it was covered by guarantee) and I get a new (really new!) board, and I can't set the auto-power-on time any more!! (Yes, it *is* horrible...!) And I don't think, I have a claim to this (maybe its a bug, not a feature :-)), other opinions? Does anybody know why NeXT (unfortunately) doesn't support this feature any more? The auto-power-on was also never mentioned in the NeXT Documentation. I think IMHO, that the auto-power-on is a very interesting feature for every one, who doesn't wants to leave the NeXT powered on all the time (just for polling, jobs in the crontab *can* (yes really, David!) be execute at a time, when the NeXT is switched on) and for people who can't afford a own room for the NeXT. Regards Christian.
Date: Sun 31-Dec-1991 15:05:15 From: anderson@macc.wisc.edu (Jess Anderson) Subject: Re: command to switch NeXT on & off? In article <1991Dec31.060208.1209@parsec.uucp> alberto@parsec.uucp (Manuel Alberto Ricart) writes: >While it seems tempting to leave the machine on at all >times - I for one (Macintosh habit?) think of the computer >more as an appliance. ie when done using for the day the >power goes off. Save the screen issue. Is it that much >better to leave it on - ALL_THE_TIME? Hot topic, as doubtless we'll see. I think of the machine less as an appliance and more as a utility, always ready to serve, always working. It needs to be on at work because it's receiving my mail and doing other useful things, even when I'm home. It needs to be on at home so that I call call it up and fetch or deliver stuff (besides, I call once in a while just to say hi so it doesn't get lonely -- there are little people in there, really there are). >Or is it justifiable to save a few kilowatts, and a few screens by >turning it off after a days use - Responses greatly appreciated. Power consumption, I think, has two main thrusts: one's purse and the environment. I think the power consumption is less than most people think. People who come over to my place are always amazed that I'm not blowing fuses (20-amp slow-blows) left and right. Now it's a fact that connected to *one* hole in the wall are: three computers (two monitors, one laser printer, one dot-matrix printer), two modems, five lights (seldom more than two in use at once), a stereo, a television, a VCR, one aquarium heater and two aquarium pumps. Never a waver. In a Wisconsin winter, you don't notice the electricity part of the power bill because the gas part stuns you. :-) The environmental issue, for a single computer, is close to trivial; it's nothing compared to the car or a city bus. We're left, of course, with the cumulative effects of all the cars, busses, furnaces, garbage, and electric power consumption, but this is not the forum for that, I suppose.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.