LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2009, 11:33 AM   #1
wolfsar
LQ Newbie
 
Registered: Jan 2007
Location: yuma arizona
Distribution: redhat 9,0 shrike
Posts: 22

Rep: Reputation: 0
Question saving crontab jobs


Hello,

I am using red hat 9.0 and i am rather confused and asking if any others using RH9 ever had issues saving crontab jobs
I have been able to use crontab -e to create a empty cron editor and add things to it... but i do not see a save option, noted if you hit ins key it inserts what I type if i hit ins key a replace shows in the editor. Also noticed as i edit a crontab using -e it says something in the lines /tmp/crontab.some number I do not see the save option....

am i missing something? and my thanks

Wolfsar
 
Old 07-14-2009, 12:50 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
If it is vi

press
Quote:
ALT_: w q
 
Old 07-15-2009, 01:47 PM   #3
wolfsar
LQ Newbie
 
Registered: Jan 2007
Location: yuma arizona
Distribution: redhat 9,0 shrike
Posts: 22

Original Poster
Rep: Reputation: 0
Question thank you

Quote:
Originally Posted by repo View Post
If it is vi

press
not sure if it is vi all i know it is redhat 9.0 box set
 
Old 07-15-2009, 01:55 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Did you tried
ALT_: w q ?
 
Old 07-15-2009, 07:44 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If that's RH9 (codename Shrike), that was discontinued years ago:
http://en.wikipedia.org/wiki/Redhat_Linux
You should really move up to a current system like Centos 5.3 (free version of RH Enterprise Linux http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux http://en.wikipedia.org/wiki/CentOS) or Fedora 11 (http://en.wikipedia.org/wiki/Fedora_(operating_system)

Incidentally, if the default editor is vi for editing crontabs (very common), then you just need to exit like this:

Press esc key to get cmd line

<esc>

should give a ':' prompt, then type 'x' <rtn>

So, altogether that's

<esc>:x<rtn>

which saves your edits.
Replace 'x' with 'q' to quit without saving.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I tell if crontab jobs are axecuting ? juanb Linux - General 4 01-27-2011 09:08 AM
Better understanding of Cron Jobs/Crontab?? 200mg Linux - Newbie 3 05-15-2009 09:57 AM
Crontab not running jobs ncracraf Linux - Newbie 6 09-02-2006 02:44 PM
crontab jobs aren't running mdm_linux Linux - General 4 05-30-2005 12:27 PM
crontab doesnt works with all jobs. pxes351 Linux - Newbie 2 05-10-2004 01:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration