Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Auto Restart




On Mar 4, 2008, at 5:36 PM, Lunetta, Laura wrote:

Hello All,

In 10.3, I used to have a crontab which restarted my servers every evening. However, something seems to have changed in 10.4—how can I have my servers restart on a regular basis in 10.4?

Thanks,

Laura.

Hi Laura,

crontab -l    " that's L to list your crontabs "
crontab -e   " to edit your crontab "

0      3       *       *       *       /usr/sbin/shutdown -r now

" hit ' ZZ ' to save "

should reboot at 3:00am each day. Which is over kill if you ask me. why would you need to reboot every evening ?

-j
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Auto Restart (From: "Lunetta, Laura" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.