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 |
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. |
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) |
You haven't applied the cron file.
Use crontab -e |
All times are GMT -5. The time now is 11:15 PM. |