Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crontab -e not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
cfvr
n00b
n00b


Joined: 23 Sep 2004
Posts: 25

PostPosted: Fri Sep 24, 2004 6:28 pm    Post subject: Crontab -e not working Reply with quote

First of all, great forum !! I hope to become a true Linux guru one day and help other poor n00bs :P

Here's my problem: if I try to edit the crontab for root with the command
Code:
crontab -e

I get this output:
Code:
no crontab for root - using an empty one
/tmp/crontab.22012: No such file or directory

And every time I invoke that command, the number in the output increases:
crontab.22013
In the man pages is says that if there is no crontab, the -e switch creates one, but not mine ;)
I also tries 'exporting the var EDITOR':
Code:

EDITOR=nano
export EDITOR

Then I get the same output :|
Back to top
View user's profile Send private message
papal_authority
Veteran
Veteran


Joined: 31 Mar 2004
Posts: 1823
Location: Canada

PostPosted: Fri Sep 24, 2004 6:29 pm    Post subject: Reply with quote

Maybe a permissions problem on /tmp?
_________________
The free market gave me gonorrhea.
Back to top
View user's profile Send private message
cfvr
n00b
n00b


Joined: 23 Sep 2004
Posts: 25

PostPosted: Fri Sep 24, 2004 6:32 pm    Post subject: Reply with quote

Errr.. there was no /tmp dir :|

I created it and the command worked! I've never had a topic solved that fast! :P tnxs dude!

[edit]
BTW, is that normal that you have to create the /tmp dir?


Last edited by cfvr on Wed Sep 29, 2004 5:41 pm; edited 2 times in total
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Fri Sep 24, 2004 7:15 pm    Post subject: Reply with quote

uhh... not that I can remember. Portage usually ends up creating it first.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum