Read through the @reboot tag of cron. Regards S.
Indian Institute of Information Technology Subhro Sankha Kar Block AQ-13/1, Sector V Salt Lake City PIN 700091 India > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:owner-freebsd- > [EMAIL PROTECTED] On Behalf Of Matt LaPlante > Sent: Thursday, February 17, 2005 4:11 > To: freebsd-questions@freebsd.org > Subject: FSCK on Reboot > > Right now I've got a server running FreeBSD 4.11. My question is, is > there a way to automatically run fsck on a system reboot, without > having to go through the process of sitting at the computer, changing > the run level, etc, etc. Clearly it's beneficial in a work environment > to be able to wait till night hours to run such operations, but I > personally have no desire to hang around the office until midnight > just to run a file system check. I know on any Windows machine this > is easily accomplished by running chkdsk and answering "y" when it > prompts if you want the system checked on the next reboot...you can go > home, wait till midnight, and reboot the system, it will automatically > check itself and come back online. Can this be accomplished in > FreeBSD? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > [EMAIL PROTECTED]"
smime.p7s
Description: S/MIME cryptographic signature