Path: utzoo!attcan!uunet!husc6!mailrus!tut.cis.ohio-state.edu!osu-cis!n8emr!uncle!jbm From: jbm@uncle.UUCP (John B. Milton) Newsgroups: comp.sys.att Subject: Re: Reboot UNIXPC from via cron Keywords: reboot unixpc cron Message-ID: <270@uncle.UUCP> Date: 25 May 88 03:54:21 GMT References: <2597@mibte.UUCP> Reply-To: jbm@uncle.UUCP (John B. Milton) Organization: Just me and my computer, Columbus Ohio Lines: 29 In article <2597@mibte.UUCP> twh@mibte.UUCP (Tim Hitchcock) writes: >> Posted for a friend. > >Could you provide a method for be-booting a UNIX PC via a crontab entry or >some other means ? I've been told that the normal method using crontab will >not work because of the program /etc/smgr, which performs the functions >handled by crontab in other systems. Is this true ? Is there some way to >use smgr to reboot the system at night ? How about this one: 0 4 * * * /bin/su root % /etc/reboot It will, of course, # # #### ##### ## # # # # # # # # # # # # # # # # # ## # # # # # #### # flush the disk buffers or do anything else nice :) John P.S. If you are so stupid as to actually do this, don't [bf]lame me -- John Bly Milton IV, jbm@uncle.UUCP, {ihnp4|osu-cis}!n8emr!uncle!jbm home: (614) 294-4823, work: (614) 459-7641; talk to me about fractals