LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 08-27-2003, 03:00 AM   #1
dvong3
Member
 
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, 09:04 AM   #2
Looking_Lost
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, 02:12 PM   #3
dvong3
Member
 
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.
 
  


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


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


All times are GMT -5. The time now is 07:41 AM.

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