LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-30-2002, 03:13 AM   #1
treebeard
LQ Newbie
 
Registered: Jun 2002
Location: Bucharest, Romania
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
cron+vim bug


i've been long time convinced that crontab doesnt work in slackware 8.0. specifically, after editing root's crontab (crontab -e), a new crontab -e would not reflect my changes.

now i've installed 8.1 on my computer, and noticed that
if i have VISUAL=/bin/elvis or make /bin/vi point to /bin/elvis, crontab -e works fine.
if i have VISUAL=/bin/vim or make /bin/vi point to /bin/vim, crontab -e doesnt work.

any ideea what could happen here?
 
Old 09-30-2002, 06:52 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Set EDITOR env variable, I have
export EDITOR=vi
editted crontab and cron works all the time.
 
Old 09-30-2002, 07:18 AM   #3
treebeard
LQ Newbie
 
Registered: Jun 2002
Location: Bucharest, Romania
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
neo77777: probably on your system vi is a link to elvis.
does EDITOR=vim work?
 
Old 09-30-2002, 10:03 AM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
Oops, it might be, and there is no way I can check it right now ( I am at work, behind the RH system, damn the slacker here was taken away from me ), I'll check it out at home.
 
  


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
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 08:09 AM
cron bug? linux_terror Linux - Software 7 09-07-2004 11:38 AM
Free86 bug or nVidia bug?? ProtoformX Linux - Software 2 05-12-2004 02:38 AM
[cron][mdk9.1]cron deamon seems to ignore some task... yannrichet Linux - Newbie 5 06-26-2003 09:57 AM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM


All times are GMT -5. The time now is 06:41 AM.

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