Any way to get the crontab back ?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Any way to get the crontab back ?
# 1  
Old 06-24-2009
Any way to get the crontab back ?

Hi All,

I have typed "crontab - e" instead of "crontab -e" by mistake.
Then i checked, surprisingly the cron tab got deleted.

I wanted the crontab, is there any way to get my crontab back?

Thanks,
Vinay TJ
# 2  
Old 06-24-2009
It should have displayed an error...
So Im quite sure when you typed, crontab -e, you werent the user you thought, thus no crontab...
# 3  
Old 06-24-2009
there is no way that a crontab file get deleted from crontab - e command
check weather you have enough rights to access crontab files
# 4  
Old 06-24-2009
check /var/spool/cron if the file is there
# 5  
Old 06-24-2009
Were you logged in as root ?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. What is on Your Mind?

I'm back

Hi all, I used to post here years ago, and was a moderator, my old username: zazzybob. Anyway, after a few years away focusing on my career, I'm back and keener than ever to get involved in the unix.com community again. I'm looking forward to getting back into the swing of things, helping... (11 Replies)
Discussion started by: tokiwinter
11 Replies

2. IP Networking

Back-to-Back Connection using HBAs

Hi every body, Is it possible to connect two servers Back-to-Back (Point-to-Point) using HBA adapters & using Fiber. Note it is direct connection & there is no switches between the servers. I'm concern about using HBA adapters, it is possible or not. Thanks in advance. :) (3 Replies)
Discussion started by: aldowsary
3 Replies

3. AIX

back to back printing in UNIX

Hi , Can you suggest me how to back to back printing in UNIX? Is there any way? Kindly advise. Regards Vijaya Amirtha Raj (3 Replies)
Discussion started by: amirthraj_12
3 Replies

4. Shell Programming and Scripting

back up

hi all i need to transfer files from one server to another,but i have to make up a backup with a datestamp on the destination server beore i move the new files from the source to the destination server. example source server destination server a.sun a.sun b.sun ... (0 Replies)
Discussion started by: bkan77
0 Replies

5. UNIX for Advanced & Expert Users

help with back up please

Can anyone please tell me how safe is the following backup script? Does it really backing up the WHOLE system or just part of it? I do that with the system running an oracle database. Will I be able to restore the system in case of a fault? <pre> Here is the output of 'df -k' ... (11 Replies)
Discussion started by: guest100
11 Replies
Login or Register to Ask a Question