From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,650e3cb0c3629b83,start X-Google-Attributes: gidfee84,public From: "Sukumar Alagappan" Subject: Re:Restore original crontab file Date: 1996/10/30 Message-ID: <01bbc5ff$11dab9a0$4e10d8cc@sukumar.uscom.com>#1/1 X-Deja-AN: 193106417 organization: U.S. Online, Inc. newsgroups: comp.unix.osf.osf1 Benjie Gandionco wrote in article > I accidently overwrote the existing root crontab file on our AS 2100. How > can I restore it? We have anther DU on an AS600. Can I just copy the root > crontab file from there? > > Thanks, > Benjie > > Dear Mr.Benjie You can restore the root crontab file from a backup copy(available on your other m/c AS 600), by doing the following 1) Login as root on the machine that lost the root crontab file 2) # crontab -e 3) :r savecopy 4) :wq crontab -e basically allows you to edit the crontab file of the logged user and throws up a vi session. So just restore it by reading in the backup file and saving it. 5)# crontab -l This will list out all the crontab entries for your verfication. You can change them if you want, by running crontab -e again. Hope this info helps you Sincerely Sukumar Alagappan -- The opinion expressed in this letter are my own and do not reflect anybody else's.