![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help regarding crontab | tkbharani | UNIX for Advanced & Expert Users | 3 | 08-20-2007 03:55 AM |
| Capture of all commands issued by the user “root” | elieifrah@gmail | UNIX for Advanced & Expert Users | 4 | 03-19-2007 07:55 AM |
| Crontab | gen4ik | UNIX for Dummies Questions & Answers | 1 | 01-18-2007 04:26 AM |
| crontab in AIX | smallbook | AIX | 25 | 12-05-2006 01:50 AM |
| Crontab | thumsup9 | UNIX for Dummies Questions & Answers | 2 | 02-14-2005 09:40 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
mistakenly issued crontab -r
HPUX 11 (32bit)
An ordinary user (not root) had mistakenly issued "crontab -r" which removed the crontab file corresponds to his user_id. (well, on our keyboard R is next E, where "crontab -e" is to edit the crontab file) Is there any way to recover the removed crontab file by that command? Thank you. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
There is nothing special for this exact situation. You will need to recover the crontab from a backup tape.
|
|
#3
|
|||
|
|||
|
I would also like to add that when you do get your crontab file back, you cd /var/spool/cron/crontabs. The files you see in there are the crontab files currently running, one per cron user, i.e. root, adm, mail uucp, etc... You don't want to touch them in any way, but I would recommend that you save a copy of them somewhere safe, just for this type of eventuality. -mk
__________________
If it aint broke, Fix it till it is. |
|||
| Google The UNIX and Linux Forums |