Operating System - HP-UX
1837407 Members
3414 Online
110116 Solutions
New Discussion

Background Job scheduling

 
SOLVED
Go to solution
cbozlagan
Regular Advisor

Background Job scheduling

Question 1- Where can I find info of Bg.Job Scheduling?
Or quick help for daily scheduling the job below

rm /oracle/ORC/oraarch/*.*


Question 2- How can I list the job scheduled?

Question 3- Ending a job scheduled

Thanks
4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: Background Job scheduling

If you want to put job in backgroung use "bg" commang - http://docs.hp.com/en/B2355-90046/ch24s03.html

To see active task use "jobs" - http://docs.hp.com/en/B2355-90046/ch24s18.html

See man pages for more details.

regards,
ivan
Guna_2
Regular Advisor
Solution

Re: Background Job scheduling

Hi,

Use cron utility to schedule the job

crontab -l to list,
crontab -e to edit
see the crontab man page.


Cheers
---MGP---
Yogeeraj_1
Honored Contributor

Re: Background Job scheduling

hi,

why do you need to do this: "rm /oracle/ORC/oraarch/*.* " ?

If this is meant to be the Oracle Archived log directory, then this can be something very destructive in cases of system failures.


i would recommend that you use RMAN for backup and the feature that automatically deletes the archived files when they have been backed up.

e.g.

run {
backup database plus archivelog delete input;
}
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Arturo Galbiati
Esteemed Contributor

Re: Background Job scheduling

Hi,
you can use 'at' command.
Type man at for further info.

HTH,
Art