Cron on Solaris not editing.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Cron on Solaris not editing.
# 1  
Old 12-08-2010
Cron on Solaris not editing.

I am working on Solaris machine.
I have to add a cron for some operation, nut in SSH terminal crontab -l shows all related crons, but crontab -e instead of opening vi editor shows some number.
Could any body tell what can be issue?
# 2  
Old 12-08-2010
Do:
Code:
# export EDITOR=vi
# crontab -e

This User Gave Thanks to bartus11 For This Post:
# 3  
Old 12-08-2010
or even:
Code:
# EDITOR=vi crontab -e

This User Gave Thanks to jlliagre For This Post:
# 4  
Old 12-09-2010
Following is the circumstances I got on various cron operations:
Image
PLease check.
# 5  
Old 12-09-2010
Code:
# EDITOR=vi
# export EDITOR
# crontab -e

# 6  
Old 12-09-2010
Quote:
export EDITOR=vi
EDITOR=vi: is not an identifier
Just for interest this error message comes from ancient Bourne Shell.
What version of Solaris is this?
This User Gave Thanks to methyl For This Post:
# 7  
Old 12-10-2010
This is the version of BASH:
Image
Please tell me what do the other things signify
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Convert vi editing to text editing

Dear Guru's I'm using Putty and want to edit a file. I know we generally use vi editor to do it. As I'm not good in using vi editor, I want to convert the vi into something like text pad. Is there any option in Putty to do the same ? Thanks for your response. Srini (6 Replies)
Discussion started by: thummi9090
6 Replies

2. UNIX for Dummies Questions & Answers

Solaris cron and cd

I have a (stupid) question about cron. If 'cd' is used in cron script, do we have to 'cd' back to 'starting' dir at the end of script (for other scripts and programs to work)? (1 Reply)
Discussion started by: orange47
1 Replies

3. UNIX for Dummies Questions & Answers

Script not running through cron on solaris 5.8

Hi All, I am running a script thorugh cron which is given below. this script is not doing its defined job through cron ,files are still in unzipped state. But when i run this script as ./script.sh it gets executed fine and does all that is required. also when i run thi script as sh... (2 Replies)
Discussion started by: Jcpratap
2 Replies

4. Solaris

Video capture and editing on Solaris vs Debian vs Ubuntu

I am interested in doing some heavy video work. I have a ADVC 110 Video capture device, which I am using to capture VHS video tapes, which I will convert on the server to DVD format and burn to DVD's using DVD production software. I will also take the captured video file and split it up in parts... (1 Reply)
Discussion started by: Marcus Aurelius
1 Replies

5. UNIX for Dummies Questions & Answers

Editing a cron file with crontab

I want to set up a file with crontab to run the cron deamon so I can use at to schedule jobs. I think the crontab file (or whatever you call it) has to be set up. Currently, I don't have a crontab file (I checked by typing sudo crontab -u myusername -l), and I don't know the syntax for creating... (6 Replies)
Discussion started by: Ultrix
6 Replies

6. Solaris

Solaris 10 cron question

I have a script that needs to install a script the runs just before cron starts. Currently (for 9 and older), it simply finds the name of the cron script in /etc/rc?.d, decrements the number and creates a link. For example, if cron starts with /etc/rc2.d/S75cron, the install script extracts the... (3 Replies)
Discussion started by: BOFH
3 Replies

7. Solaris

editing cron

im running crontab -e as root, I keep getting, I set my editor to EDITOR=vi... # crontab -e 477 (2 Replies)
Discussion started by: csaunders
2 Replies

8. UNIX for Dummies Questions & Answers

Cron in Solaris

Hi, Im just begining in UNIX and i want to know how to create a CRON schedule to take a file, compact it and copy it by ftp to other computer running Linux. Thanks alot folks! Macakongs2099 (2 Replies)
Discussion started by: Macakongs2099
2 Replies

9. UNIX for Dummies Questions & Answers

Editing a CRON file

Hi, I am accessing CRON via telnet and want to set up some jobs. I have typed crontab -e to edit my cronfile but I can't seem to enter anything when I type on my keyboard. All I have is a flashing cursor at the top with ~ on the start of each line. How can I enter the jobs and save this... (9 Replies)
Discussion started by: jaffy1229
9 Replies

10. UNIX for Dummies Questions & Answers

editing a profile on solaris 2.3

Firstly, thank you for this great forum and the time you spend on answering newbies like me. I still have a problem with understanding how profiling works on a solaris 2.6 unix system. when adding a user, it should get a profile in /home I suppose. And again, I suppose that this is the file... (7 Replies)
Discussion started by: phpote
7 Replies
Login or Register to Ask a Question