The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 RE: Getting FBSD 4.0 to shut my system off with cr
Author: Alexander Anderson 
Date:   28-06-00 17:27

I am pretty new to FreeBSD myself, but I can give you a couple of thought since nobody else hasn't yet. First of all, you can do the whole thing with shutdown(8). Check out the man pages, it will tell you how to schedule the system shutdown. It will even allow to notify all the users; it's pretty cool. As to doing it with cron job, I think you'll have to use "shutdown now". Put this into /etc/crontab. If you need more info see cron(8), crontab(1), crontab(5). So here ya go! Good luck.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Getting FBSD 4.0 to shut my system off with cron   new
W. Casama 12-06-00 22:52 
 RE: Getting FBSD 4.0 to shut my system off with cr   new
Alexander Anderson 28-06-00 17:27 
 RE: Getting FBSD 4.0 to shut my system off with cr   new
Wyness Casama 28-06-00 18:13 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum