LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-25-2006, 11:56 AM   #1
scotchboy
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Rep: Reputation: 0
Post Crontab help needed- Suse


The problem I am currently experiencing is I add a line the /etc/crontab and nothing seems to run. I go to the run level editor and cron is running? I am running Suse linux. My line reads as:

30 11 * * 1-5 root /usr/local/bin/budaily.sh

I can't seem to find any type of log for cron. I also see some people say that kcron is suppose to be on Suse to edit jobs, but I can't find it.

Please let me know what I am doing wrong.

Thanks

Steve
 
Old 07-25-2006, 12:01 PM   #2
dbogdan
Member
 
Registered: Feb 2005
Location: Metro Detroit, US
Distribution: Suse/Slackware/Mepis
Posts: 174

Rep: Reputation: 31
You need to use the command crontab -e to create/edit things properly, unce you're done saving your changes, the process will automagically reinstall the changes for you

you can also use crontab -l to list what the current (per user) crontab is.
 
Old 07-25-2006, 01:28 PM   #3
scotchboy
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I just have another quick question. From a command prompt I type crontab -e, I get that is where I put in my config line now. How do I save and exit? I have read "ctrl o" and "ctrl x", but those don't seem to work.

Please let me know

Steve
 
Old 07-25-2006, 04:30 PM   #4
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
try standard vi commands

to save and exit

[esc]:wq

(ie type escape, a colon the w for write and q for quit)

Last edited by billymayday; 07-25-2006 at 06:46 PM.
 
Old 07-25-2006, 05:33 PM   #5
dbogdan
Member
 
Registered: Feb 2005
Location: Metro Detroit, US
Distribution: Suse/Slackware/Mepis
Posts: 174

Rep: Reputation: 31
Yes, try what billymayday suggests.

crontab -e uses your systems default editor which is usually vi
 
Old 07-26-2006, 07:28 AM   #6
scotchboy
LQ Newbie
 
Registered: Jul 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I really do appreciate the help, its fully functional. Thanks!

Steve
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSe 9.1 help needed, please. Arcadia SUSE / openSUSE 6 04-17-2005 04:41 PM
uh oh. (SUSE 9.1 help needed) djc Linux - Newbie 5 02-28-2005 04:07 PM
Setting up crontab SUSE Linux 8.2 byfaithalone Linux - Newbie 6 02-05-2004 03:42 PM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM
Suse 8.1 crontab problem? naflan Linux - Software 1 05-26-2003 12:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:26 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
Open Source Consulting | Domain Registration