LinuxQuestions.org
Review your favorite Linux distribution.
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 04-16-2001, 10:35 AM   #1
goochable
LQ Newbie
 
Registered: Apr 2001
Posts: 25

Rep: Reputation: 15

Hi,

I have created a cron file named ex_cron like this

# do extract every 5 minutes
5 * * * * /opt/oracle/export/ftpextract

I have then done a

crontab -u oracle ex_cron

and nothing happens. Can someone help me with why
the job is not running?

Thanks in advance for your help!!!

Mike
 
Old 04-16-2001, 11:01 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
I hate to say this, but is your cron daemon running?

Did you mean to say crontab ex_cron -u oracle ? That is the order specified in the crontab man page. And it worked when I tested it. Does your oracle user ever get any mail?

I usually su - user and then do a 'crontab -e' to edit the crontab file. Check out the crontab man page, It's farily good.

 
Old 11-15-2003, 04:39 PM   #3
ALoop
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Wink

Hi,

I have created a cron file named ex_cron like this

# do extract every 5 minutes
5 * * * * /opt/oracle/export/ftpextract

I have then done a

crontab -u oracle ex_cron

and nothing happens. Can someone help me with why
the job is not running?

Thanks in advance for your help!!!

Mike

......your script will only run on 5th min. of every hour....etc
you need:
*/05 * * * * /opt/oracle/export/ftpextract
(to run every 5mins)
 
Old 11-15-2003, 09:47 PM   #4
Sometimes
Member
 
Registered: Oct 2003
Location: Richmond, VA
Distribution: Depends on the week...
Posts: 64

Rep: Reputation: 15
You haven't applied the cron file.

Use crontab -e
 
  


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
cron problems deadite66 Linux - General 0 08-06-2005 07:29 PM
Cron Problems DNAphil Linux - Newbie 1 07-12-2005 08:56 AM
cron problems tassinari Linux - Newbie 8 04-02-2005 11:11 PM
CRON problems jlinden Linux - General 1 09-02-2003 03:16 PM
Cron problems goochable Linux - Newbie 3 04-17-2001 08:43 AM

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

All times are GMT -5. The time now is 02:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration