* Re:Restore original crontab file
@ 1996-10-30 5:00 Sukumar Alagappan
0 siblings, 0 replies; only message in thread
From: Sukumar Alagappan @ 1996-10-30 5:00 UTC (permalink / raw)
Benjie Gandionco <benjieg@corp.nsc.com> 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 <inside vi>
4) :wq <inside vi>
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-10-30 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-30 5:00 Re:Restore original crontab file Sukumar Alagappan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox