Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 08-27-2003, 02:00 AM   #1
Registered: Sep 2002
Posts: 168

Rep: Reputation: 30
Crontab Help

I have a database user who want to set up running schedule tasks using crond daemon. I created a /var/spool/cron/crontabs directory but the job does not execute. In my crontab -l statement I have "01 * * * * /home/oracle/runme". How do I get this database user to start his crontab task? Is permission need to set differently? Any troubleshooting technic or any advice would be helpful.
Old 08-27-2003, 08:04 AM   #2
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
crontab has been causing me a wee bit of confusion too but

I take it you want to run the command every minute?

I was trying something similar and wondering why it wouldn't work till I worked out

* 00-23 * * * /home/oracle/runme

will run the command every-minute for every hour of the day, maybe there's a better way but I don't know.

to create the crontab entry for a particular user while logged in as root

crontab -e username

then add the entries

or as logged in as the actual user

crontab -e

It's more a lack of understanding of crontab that caused me problems but, problems are there to be overcome
Old 08-27-2003, 01:12 PM   #3
Registered: Sep 2002
Posts: 168

Original Poster
Rep: Reputation: 30
Thanks for the reply. Another unusual thing is the script is located at /var/spool/cron/oraclescript directory. I notice if I change the file permission to root and group root the crontab doesn't run.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab x2??? killahsmurf Slackware 2 05-24-2005 10:53 PM
Crontab wormraper Debian 4 05-15-2005 01:01 AM
How to use crontab ? Dakkar Linux - Newbie 2 01-22-2004 10:49 AM
system-wide crontab in /etc/crontab ner Linux - General 2 11-18-2003 12:35 PM
HELP!! crontab karleong Linux - General 9 07-12-2003 10:54 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration