?
Solved

Scheduling in UNIX

Posted on 1997-07-29
5
Medium Priority
?
293 Views
Last Modified: 2010-04-22
Hello!
I'm working with Windows NT and MS SQL, but some important data in our organization are on Oracle 7.3 which run on the UNIX box. After the last crash of Oracle server when we lost a whole day's work I have a quarrel with our administrator. He explained that on UNIX there isn't a way to schedule the command execution at later time, but during the working hours he doesn't have a time to run the log backup of database. Living all my life in Windows world I don't believe him.
So my question: is there a way to make schedule of running log backup automaticaly either by UNIX or Oracle means?
If yes then how, if no then why you're using them (UNIX and Oracle).
0
Comment
Question by:armands
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 800 total points
ID: 2006599
There 2 traditional ways to schedule commands: at and cron.
While `at' starts a command at the specified time once, `cron' may do the same periodically (i.e. each sunday at 9pm), see corresponding man-pages.

I don't know if this is possible for your Oracle database, because of open files and such things.
0
 
LVL 2

Author Comment

by:armands
ID: 2006600
Thanks, but there is other problem. To run backup utility we must supply a pasword which is then seen in the process list as parameter. Can we prevent this?
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2006601
If you use cron (crond), each user has its on crontab (usually in /var/spool/cron/crontabs), and so there is no password needed.
0
 
LVL 2

Author Comment

by:armands
ID: 2006602
This is the Oracle password which UNIX display as utility parameter.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2006603
I don't know how Oracle reads its passwords.
You can be lucky if it's poorly programmed, meaning that it reads from stdin and not from /dev/tty, then you can redirect it, like:

your_script_containing_oracle_call < oracle_passwd_file
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question