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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-29-2006, 11:33 AM
#1
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Rep:
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
09-29-2006, 12:48 PM
#2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Rep:
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
09-29-2006, 12:52 PM
#3
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Original Poster
Rep:
Yeah, it should be.
But the command/program "crontab" is not present. :\
10-01-2006, 04:11 PM
#4
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Original Poster
Rep:
Doesn't anybody have an idea - Getting desperate here :\
I btw love vim
10-05-2006, 05:53 AM
#5
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Original Poster
Rep:
bump bump :\
10-05-2006, 08:25 AM
#6
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
I run fc5 and have the main crontab file in /etc, and individual user's crons in /var/spool.
Does /usr/bin/crontab exist?
10-05-2006, 09:00 AM
#7
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Original Poster
Rep:
/usr/bin/crontab does not exist ...
10-05-2006, 09:14 AM
#8
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
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 .
10-07-2006, 07:17 AM
#9
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Original Poster
Rep:
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
10-07-2006, 05:30 PM
#10
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
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
10-07-2006, 05:35 PM
#11
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Original Poster
Rep:
/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?
10-07-2006, 05:36 PM
#12
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Original Poster
Rep:
What about sending me the "crontab" binary?
Think that'll work? :P
10-07-2006, 08:09 PM
#13
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
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
10-08-2006, 06:35 AM
#14
LQ Newbie
Registered: Jan 2005
Location: Lost in space
Distribution: FC4
Posts: 17
Original Poster
Rep:
I've allready tried that.
Just tried it again, though.
Same old story, no errors, but no crontab binary.
10-08-2006, 10:16 PM
#15
Member
Registered: Jul 2005
Location: Vietnam
Distribution: Fedora Core 2
Posts: 55
Rep:
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
All times are GMT -5. The time now is 12:47 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News