LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-29-2006, 11:33 AM   #1
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Rep: Reputation: 0
Crontab in Fedora Core 5


Hi guys.

I just installed a fresh Fedora Core 5 on my system, system booted and everything went smoothly.

Until i tried to add a job to crontab.
Where the .... is crontab?

Only thing i can find is the conf in /etc
Not even as a service.

Running CLI.

Tried removing "crontabs" via yum and installing it again. Didn't help.

Any ideas?


Cheers
 
Old 09-29-2006, 12:48 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,439
Blog Entries: 1

Rep: Reputation: 66
crontab is command.
It uses the vi editor by default.
If you are not a fan of vi, and you are in the graphical mode, you can use gedit.

Code:
$ export VISUAL=gedit
$ crontab -e
After created a cron job, you can list the cron tab with
Code:
$ crontab -l
 
Old 09-29-2006, 12:52 PM   #3
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
Yeah, it should be.

But the command/program "crontab" is not present. :\
 
Old 10-01-2006, 04:11 PM   #4
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
Doesn't anybody have an idea - Getting desperate here :\

I btw love vim
 
Old 10-05-2006, 05:53 AM   #5
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
bump bump :\
 
Old 10-05-2006, 08:25 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I run fc5 and have the main crontab file in /etc, and individual user's crons in /var/spool.

Does /usr/bin/crontab exist?
 
Old 10-05-2006, 09:00 AM   #7
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
/usr/bin/crontab does not exist ...
 
Old 10-05-2006, 09:14 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Does it exist anywhere (try locate or find)? If not, I'd assume it isn't actually installed

What does

#yum list installed crontabs

return?

Last edited by billymayday; 10-05-2006 at 09:15 AM.
 
Old 10-07-2006, 07:17 AM   #9
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
the only file on the system is the conf in /etc .. And the .hourly .daily and so on..

Yum returns;

Installed Packages
crontabs.noarch 1.10-7.1 installed

....

Tried removing and installing (via yum) didn't help
 
Old 10-07-2006, 05:30 PM   #10
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What dot you get if you type
# locate crontab ?

Here's my output

/etc/anacrontab
/etc/crontab
/usr/bin/crontab
/usr/lib/mailman/cron/crontab.in
/usr/share/man/man1/crontab.1.gz
/usr/share/man/man1p/crontab.1p.gz
/usr/share/man/man5/anacrontab.5.gz
/usr/share/man/man5/crontab.5.gz
/usr/share/vim/vim70/syntax/crontab.vim
/var/cache/man/cat1/crontab.1.bz2
/var/cache/man/cat5/crontab.5.bz2
 
Old 10-07-2006, 05:35 PM   #11
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
/etc/crontab
/etc/crontab.rpmsave ##backup, from when I reinstalled
/usr/share/vim/vim64/syntax/crontab.vim
......

Obviously a lot missing

But how the heck, im I gonne get it properly installed and working? Without reformatting and reinstalling everything?
 
Old 10-07-2006, 05:36 PM   #12
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
What about sending me the "crontab" binary?

Think that'll work? :P
 
Old 10-07-2006, 08:09 PM   #13
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
There's more to it than that. Try uninstalling with yum, then

yum list installed | grep crontab

to make sure it's gone and reinstall
 
Old 10-08-2006, 06:35 AM   #14
putteand
LQ Newbie
 
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17

Original Poster
Rep: Reputation: 0
I've allready tried that.
Just tried it again, though.

Same old story, no errors, but no crontab binary.
 
Old 10-08-2006, 10:16 PM   #15
caspervn
Member
 
Registered: Jul 2005
Location: Vietnam
Distribution: Fedora Core 2
Posts: 55

Rep: Reputation: 15
Quote:
Originally Posted by putteand
I've allready tried that.
Just tried it again, though.

Same old story, no errors, but no crontab binary.
How about command ?

Code:
rpm --query crontabs.noarch 1.10-7.1
 
  


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
Setup Fedora core 3 & Redhat 7.2 software development environment under Fedora core 5 powah Fedora 1 06-16-2006 10:25 AM
Upgrade Fedora Core 4 (FC4) to Fedora Core 5 (FC5) hangs vogelap Fedora - Installation 10 05-22-2006 09:00 AM
crontab fedora 3 test 2 james.farrow Fedora 2 10-10-2004 02:46 AM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM
Crontab broken? (redhat fedora core 1) jon_k Linux - Software 1 05-03-2004 01:39 AM

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

All times are GMT -5. The time now is 08:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration