Scheduling in UNIX

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).
LVL 2
armandsAsked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
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
 
armandsAuthor Commented:
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
 
ahoffmannCommented:
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
 
armandsAuthor Commented:
This is the Oracle password which UNIX display as utility parameter.
0
 
ahoffmannCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.