The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
problem with cron job solne SUN Solaris 7 01-18-2008 08:57 PM
cron problem! blowtorch UNIX for Advanced & Expert Users 4 03-08-2006 01:12 AM
Problem with cron jhansrod AIX 2 11-25-2005 04:30 PM
cron problem VPN UNIX for Dummies Questions & Answers 2 04-16-2004 06:27 AM
Cron Problem Raiden Shell Programming and Scripting 4 11-16-2003 07:00 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-27-2006
tez tez is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 11
Cron problem

Hi,

I've just done a school boy error.
I was trying to edit the crontab but instead of using:
crontab -e

I used crontab -r without realising. Then went to look at the crontab but ntohing their. Looked int he manual and -r removed the crontab.

Is their any way of getting this back??

Cheers
  #2 (permalink)  
Old 10-27-2006
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Staff  
Part Time Moderator and Full Time Dad
  
 

Join Date: Sep 2006
Location: Rossem, Tazenda
Posts: 1,086
try searching for file named crontab, you might find an old copy somewhere (a very remote possibility)

Code:
find / -name 'crontab' 2>/dev/null
  #3 (permalink)  
Old 10-27-2006
kingdbag kingdbag is offline
Registered User
  
 

Join Date: Jun 2006
Location: Las Vegas, NV
Posts: 104
Yea, if you can't find the original cron file that you are supposed to use instead of directly modifying cron you are beat.
  #4 (permalink)  
Old 10-27-2006
BOFH BOFH is offline Forum Advisor  
Registered User
  
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 406
Restore from backup.

Carl
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0