The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



Thread: root cron
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-08-2002
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
I'm not sure of what you are asking but I think you are confusing going from console and changing root's crontab on a system versus going from another server (telnet, ssh....) to a system and changing root's crontab.

The crontab for root is a file (as you specified, /var/spool/cron/crontabs/root). To change the crontab for root, use the crontab -e command (read the man page on crontab first). The system will start some type of editor session - so it's like editing any other file at that point. You make changes, save, and exit the editor.

Quote:
if the root cron reach its maximum capacity how the unix will handle the incoming cron job from the console.
I have never heard of a maximum capacity for cron - I doubt you could reach it since those of us who have mistakenly created incorrect entries in cron which have created multiple processes in seconds can tell you, it won't be the crontab that gets to a maximum but the server - with runaway processes in endless loops. The most entries I have seen in a crontab to date: 171 (a DBA who has so much running in cron, I don't think he even needs to come to work anymore).