shutdown via crontab?
John C. Sucilla
jcs at tarkus.UUCP
Wed Sep 7 10:13:53 AEST 1988
In article <6512 at chinet.UUCP> dsueme at chinet.UUCP (dave sueme) writes:
>Can a crontab entry be devised so that smgr will shut down a 7300?
Don't see why not.
>My attempts to put /etc/shutdown in chrontab are failing probably
Dave,
Try putting this string in your crontab:
/bin/su root -c "/usr/lib/lpshut > /dev/null 2> /dev/null;sync;init s;sleep 1"
--
John "C". Sucilla, A silicon based life form.
{att,chinet,ddsw1}!tarkus!jcs
You have a better idea? Now's the time..
More information about the Unix-pc.general
mailing list