LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 06-07-2007, 12:17 AM   #1
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Rep: Reputation: 16
Question Cron Tab


Hi Guys

I my solaris 10.When i log in as user talat and try to schedule any task .First i change the editor by

bash-3.00$export EDITOR=vi

then

bash-3.00$crontab -e

after adding task i save it with:wq

It gives me following msg

crontab: error on previous line; unexpected character found in line.
crontab: errors detected in input, no crontab file generated.

What to do.

Regard
Talat
 
Old 06-07-2007, 01:04 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Hi,

What's in the crontab, or what are you trying to put in the crontab? Looks like there's a line that's not correct.

BTW: If you want to make vi the permanent editor you can put the EDITOR=vi line in your ~/.profile (or /etc/profile to make it global for all users).

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 To Create A Cron Tab/Task? Harpo Linux - Newbie 4 01-07-2007 02:36 PM
cron tab user52 Linux - Newbie 3 11-29-2006 07:53 AM
help in cron tab framedrelay Programming 1 11-15-2006 08:49 AM
cron tab, what do you use it for? Fritz_Monroe Linux - Newbie 12 09-28-2006 03:54 PM
cron tab thefedexguy Suse/Novell 4 07-06-2006 12:03 PM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration