LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-16-2001, 09:36 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, 10:04 AM   #2
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
maybe it work this way

*/12 * * * * /opt/oracle/export/ftpextract
 
Old 04-17-2001, 02:13 AM   #3
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
5 * * * * /opt/oracle/export/ftpextract
this tells cron to start the command five minutes past every hour.
 
Old 04-17-2001, 07:43 AM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
crontab does not take a file as an argument, it is used to edit users crontabs. Type 'crontab -u username -e' and then type the line that devnull and ugge gave.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cron problems deadite66 Linux - General 0 08-06-2005 06:29 PM
Cron Problems DNAphil Linux - Newbie 1 07-12-2005 07:56 AM
cron problems tassinari Linux - Newbie 8 04-02-2005 10:11 PM
Cron problems goochable Linux - General 3 11-15-2003 08:47 PM
CRON problems jlinden Linux - General 1 09-02-2003 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 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