[WBEL-users] Cron Job help

Michael St. Laurent mikes at hartwellcorp.com
Thu Apr 14 14:02:58 CDT 2005


That would be the "Red Hat" and/or "White Box" way of doing it, yes.  ;-D
 
 

--
Michael St. Laurent
Hartwell Corporation 

-----Original Message-----
From: whitebox-users-bounces at beau.org
[mailto:whitebox-users-bounces at beau.org] On Behalf Of Shapiro, Mark
Sent: Thursday, April 14, 2005 11:00 AM
To: Mike Chapman; whitebox-users at beau.org
Subject: RE: [WBEL-users] Cron Job help



It seems to me that you should log in as root, then switch to the
cron.monthly directory and create a file in that directory with the
statement

 

/sbin/shutdown -r now

 

 in it.

 

Then do a chmod +x on the file to make sure it is executable.

 

Dr. Mark H. Shapiro

Professor of Physics, Emeritus

California State University, Fullerton

Phone: 714 278-3884

FAX: 714 278-5810

email: mshapiro at fullerton.edu <mailto:mshapiro at fullerton.edu> 

web: http://chaos.fullerton.edu/Shapiro.html
<http://chaos.fullerton.edu/Shapiro.html> 

travel and family pictures:

http://community.webshots.com/user/mhshapiro
<http://community.webshots.com/user/mhshapiro>  

 

 

  _____  

From: whitebox-users-bounces at beau.org
[mailto:whitebox-users-bounces at beau.org] On Behalf Of Mike Chapman
Sent: Thursday, April 14, 2005 10:50 AM
To: whitebox-users at beau.org
Subject: [WBEL-users] Cron Job help 

 

Hi-

 

Would someone be willing to assist me with setting up a Cron job that would
reboot my box on a monthly schedule? I have Googled for help and found
examples but I am perplexed with the syntax. I tried to use Webmin to do
this but could not ( each time I would try to run the job I was informed I
needed to run the job as a superuser...). Newbie instructions would be
greatly appreciated.

 

Thanks,

 

Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://beau.org/pipermail/whitebox-users/attachments/20050414/ceb2aae7/attachment.htm


More information about the Whitebox-users mailing list