The UNIX and Linux Forums  

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


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
MV'd a file, now it's disappeared... slogged UNIX Desktop for Dummies Questions & Answers 0 03-16-2008 08:29 PM
pls help on crontab ss4u UNIX for Dummies Questions & Answers 2 01-08-2007 10:56 PM
crontab in AIX smallbook AIX 25 12-05-2006 12:50 AM
My partition disappeared!!!! URGENT!! (newbie factor) riwa UNIX for Dummies Questions & Answers 2 01-04-2006 12:40 PM
Crontab thumsup9 UNIX for Dummies Questions & Answers 2 02-14-2005 08:40 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-22-2007
Registered User
 

Join Date: Mar 2007
Posts: 2
crontab disappeared

when i am doing the crontab editing i am using the setenv EDITOR /usr/bin/vi
but their was an error i tried to put set EDITOR /usr/bin/vi and it wnet through and i started editing using the command crontab -e but somehow it is slow and displayed something like e300 and i tried to stop because it was slow,by control C and what happened was the next time i display the crontab using crontab -l everything disappeared.

I tried to check the log files for cron then i can see the the cron is running where the cronjobs is activate to the last date i am checking the cron logs.

how can i fix this?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-22-2007
Part Time Moderator and Full Time Dad
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 758
if you have backup somewhere, restore from it
Reply With Quote
  #3 (permalink)  
Old 03-23-2007
Registered User
 

Join Date: Mar 2007
Posts: 2
crontab disappeared

Quote:
Originally Posted by Yogesh Sawant
if you have backup somewhere, restore from it
i tried to restore from my backup but when try to display it it doesnt show at all.
Reply With Quote
  #4 (permalink)  
Old 03-23-2007
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,354
Use the crontab command to reinstall the crontab file. Or stop and restart the cron program.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0