Re: system restart after some seconds
05.01.2013 11:56, Boris Samorodov пишет: > 05.01.2013 11:43, Jack Mc Lauren пишет: > >> How can I restart my freeBSD after specific seconds ? > > SHUTDOWN(8): > - > NAME > shutdown, poweroff — close down the system at a given time > > SYNOPSIS > shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...] > poweroff > [...] > -r The system is rebooted at the specified time. > - Yep, Polytropon is right. Here "time" is minutes. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: system restart after some seconds
On Fri, 4 Jan 2013 23:43:57 -0800 (PST), Jack Mc Lauren wrote: > How can I restart my freeBSD after specific seconds ? Unelegant and obvious: # sleep 10 ; shutdown -r now If you need this to happen automatically, use /etc/rc.local, and maybe put the whole command into background using (...)&. Beware - endless loop! You need to be fast enough to revert the change or go to SUM to do so. :-) Parameters to shutdown itself, as well as for the "at" command, only allow minutes as most precise elements; see "man shutdown" and "man at" for details. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: system restart after some seconds
05.01.2013 11:43, Jack Mc Lauren пишет: > How can I restart my freeBSD after specific seconds ? SHUTDOWN(8): - NAME shutdown, poweroff — close down the system at a given time SYNOPSIS shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...] poweroff [...] -r The system is rebooted at the specified time. - -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
system restart after some seconds
Hi How can I restart my freeBSD after specific seconds ? Thanks in advance ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"