Sqlplus and db starup/shutdown job

hello dear all ,
I need some help to starup and shutdown the database oracel 9.i though job
how ca I put a job to startup and shutdown the database with sqlplus

Operating systems hints appreciated. The crystal ball doesn't connect to your mind yet ...
1) Please define 'job'.
Oracle has 'jobs' that are run inside the database instance. Of course, using those would difficult.
However, with Oracle Enterprise Manager, in either OMS form (Oracle9i) or Grid Control form (10g), and the use of Oracle Agents, the database instances can be started and shut remotely and through the new Oracle Scheduler facility.
2) If you are on *nix, and everything has been configured, you can use the dbshut and dbstart scripts (often found in $ORACLE_HOME/bin or /usr/local/bin) to stop/start the database. 
These scripts use the last 'field' of the oratab file. When set to 'Y' they will attempt to start/shut the database instance identified on that line. On linux, that file is /etc/oratab, on solaris it is /var/opt/oratab
You can also use cron to run the dbstart/sbshut routines, as long as you set up the environments right
3) On WIndows, several have created batch scripts called by the task scheduler (at) based on 'net start/stop instance_name_in_servcies'

Similar Messages

  • How can i use minutes and seconds in my job interval

    Sir,
    I want to use minutes and seconds in my job interval.
    suppose i want to run my job on 1:15:10 AM what will be the syntax. my code is below.
    Declare
    jobno number;
    BEGIN
    DBMS_JOB.SUBMIT(jobno,'DEL_DEPT;',trunc(SYSDATE + 1) + (1/24),'trunc(SYSDATE + 1) + (1/24)');
    END;
    Thanks in advance.

    Declare
    jobno number;
    BEGIN
    DBMS_JOB.SUBMIT(jobno,'DEL_DEPT;','trunc(SYSDATE + 1) + 4510/86400','trunc(SYSDATE + 1) + 4510/86400');
    END;
    number of hours in a day = 24
    number of minutes in a day = (24 * 60) = 1440
    number of seconds in a day = (24 * 60 * 60) = 86400
    4510 is the number of seconds in 1 hour 15 minutes and 10 seconds.

  • How can I/Is it possible to silently print a PDF with specific print settings and obtaining the resulting job id (in windows at least)?

    Greetings,
    I have a specific application for Windows I'm developing where I need to silently print a PDF to a real printer.  The trick is I need to set specific printing preferences ... such as color/monochrome, # of copies, page size / source tray, etc.   The printer is always set to spool documents, and it is key that I know the job id (even if its already done printing) of the resulting print job.
    With windows APIs mixed in, I would imagine something like ...
    OpenPrinter(printername)
    StartDocPrinter(...)
    -----> some SDK call to print the document based on the handles I pass it...or perhaps one page at a time after I call StartPagePrinter()
    EndDocPrinter(...)
    ClosePrinter()
    I've been searching for something for days that would give me this sort of control, but I've been finding the documentation very difficult to find on silently printing a PDF through any means other than a command line which doesn't appear to give me the information or control I need.
    Is this possible with the Adobe SDK? 
    I've seen other posts accomplish this by changing the printing defaults for the printer, and then sending the job silently with a commandline.  This has two problems for me: 1) I still don't know the Job ID of the print job, and 2) I can't rely on the idea that other unrelated print jobs will not be sent while I'm processing the PDF ... making it difficult to use defaults as a means of controlling the settings without causing a lot of side effects.
    Even just a point in the right direction would be a huge help for how I could accomplish this.  
    Thanks a lot,
    Wayne

    You cannot uninstall Kit Kat from your phone. BTW what kind of phone do you have??

  • After downloading I was entering my password for iCloud and clicked on forgot....now it's stuck and will not shutdown. When I try to shut down it says Set up Assistant cancelled shutdown. This has been going on for 5 hrs plus...any ideas?

    MAcbook is stuck and will not shutdown following download of X Mavericks software. Setup assistant is stuck and will not allow the MacBook Air to shutdown. It's been doing this for over 5 hours......any ideas?

    Hi there—
    This reply doesn't seem to take into account the query.
    Please help?
    The computer is completely unresponsive and won't shut down or turn off. It is stuck in Set Up Assistant after trying to sign in to AppleID.
    Attempting to shut down or restart produces the following dialogue:
    "The application Set Up Assistant has cancelled shut down.
    To try shutting down again, quit Setup Assistant and click Try Again."
    HOWEVER it is impossible to quick Set Up Assistant— the icon is completely unresponsive even to force quit, right click or anything.
    I've managed to get into being able to see Dashboard and at the top Desktop and the dock below. But I can't click on anything from there. So it seems it is not the whole computer. Just set-up assistant.
    Please help??
    Thank you

  • ORA-12535 TNS:operation timed out from SQLPlus and Enterprise Manager Conso

    I keep getting a ORA-12535 TNS:operation timed out error, when I try to start my Database.
    I know its a timeout error, but I would like to know what is timing out and why. All I want is the database its self to run to allow me to connect to it via SQLPlus and JDBC.
    Is there any information on what the following services do and which ones I need to have running to use the database.
    Oracle OLAP 9.0.101
    Oracle OLAP Agent
    Oracle oraHome90Agent
    Oracle oraHome90ClientCache
    Oracle OraHome90PagingServer
    OracleOra90SNMPPeerEncapsulator
    OracleOra90SNMPPeerMasterAgent
    OracleOra90STNSListener
    Thanks for any help Tony

    Either reconfigure CONNECT_TIMEOUT to be 0, which means wait indefinitely, or reconfigure CONNECT_TIMEOUT to be some higher value. Or, if the timeout is unacceptably long, turn on tracing for further information.
    If you have oracle metalink, then read the following note;
    Note:119706.1 - Troubleshooting Guide TNS-12535 & ORA-12535 Errors

  • How can I drag and drop a Tidal job into another group?

    How can I drag and drop a Tidal job into another group? In Tidal Help, it says-
    In the Jobs pane, press and hold the Ctrl key and at the same time right-click and either individually select individual jobs within a job group or drag your mouse cursor over a block of jobs that you wish to select. You can only move multiple jobs between job groups if the jobs being moved are on the same level.
    Keeping the right mouse button depressed, drag the cursor to the job group that you wish to move the jobs to and release the mouse button.
    When moving jobs from one job group to another, you must decide if the moved jobs keep their original job group attributes or assume the calendar and agent characteristics of its new job group.
    A confirmation dialog, offers three inheritance options for the jobs moved to the "new" job group parent. Select one of the following options:
    However, when I attempt to follow those instructions, it doesn't work at all and there is no indication that it's even trying (i.e., I don't see the selected job following my cursor at all and all I get is the normal menu when you right click anywhere on the screen.)
    Is there another way to do this or is there a master setting that needs to be changed so that ability is enabled?
    Thanks.

    Go into edit mode for the job group group and just manually edit the section for Parent job/Group.
    Cheers

  • Audition has encountered a fatal error and needs to shutdown

    All of a sudden, Audition has been frequently giving me this error "audition has encountered a fatal error and needs to shutdown" and shutting down when I select an area using the Paint Brush selection Tool in the Spectral Display. I have made lots of use of this tool in the recent past, editing out noise in recordings. But, this error now makes that tool almost useless.
    How can I fix whatever is wrong?
    1) MacBookPro with Lion 10.7.4
    2) Audition CS6, v5.0 build 708
    3) Editing wave files using the Paintbrush tool to select small areas to reduce the level.
    4) Does NOT seem file dependent, since this problem has occurred on brand new wave files and previously edited wave files. I do not know if it is restricted to wave files. That is just all record - wave 24/96.
    5) The problem generally occurs when I simply select an area. I think sometimes it doesn't surface, until I try to adjust the level.
    6) I have used this tool a lot, prior to this problem surfacing. I' had no troubles. then, on a file I hade been making lots of little edit to, to clean up the noise, it suddenly started giving me this error. Since then, any file I have tried to use the Paint Brush tool give me this error. Forces me to save  VERY frequently.
    Any ideas?
    Mike

    Hi Mike,
    First, let me ask that the next time this crash occurs, please locate and send the corresponding OS X Crash log.  To locate this file, do the following:
    Open Finder
    From the menu bar, choose Go > Go To Folder...
    In the "Go to the Folder" box that pops up, type: ~/Library/Logs/Diagnostic Reports/ and click Go
    Locate the Adobe Auudition CS6_2012... file that is most recently dated and send it as an attachment to [email protected]
    I would then suggest two steps to resolve this:
    Update Audition:
    Click Help > Updates in the menu bar and update Audition CS6 to v5.0.2
    If you still experience a crash after updating Audition, let's temporarily reset the preference files for Audition and see if that makes a difference.
    Open Finder
    From the menu bar, choose Go > Go To Folder...
    In the "Go to the Folder" box that pops up, type ~/Library/Preferences/Adobe/Audition/ and click Go
    Rename the "5.0" folder to something else, such as "5.0_OLD"
    Audition will rebuild these preference files to its defaults on the next launch.  See if this crash is still a problem.
    Thanks!

  • How to stop and remove an active job.

    How to stop and remove an active job.

    What sort of "job" are you referring to? A print job? If so, open the queue for the printer - it should be in your Dock, or you can access it through the Printers & Scanners system preference - and click the green Pause button to stop the entire queue, or the Pause button next to a specific print job to pause just that job. To clear a job, click the "X" button to the right of the job.
    If that's not the "job" you mean, please post back and clarify.
    Regards.

  • Sqlplus and "show parameter"

    hi,
    I cloned two databases from a database (copying filesystem, modifying parameter file, and recreating control file).
    on one of the cloned databases when I log in as a user using sqlplus and do show parameter db_name, it shows the parameter.
    on the other one, it says "table or view does not exist".
    why is this? they were both cloned from the same database!
    thanks

    but if I have database A, and I clone that into databases X and Y, and during the whole duration A was not modified so that A, X and Y end up being completely identical, then surely one would expect user ora12 on all three databases to have the same privileges? Why then can I use show parameter on databases A and X, but not Y?
    thanks

  • Sqlplus and dbconsole  dont' show the correct version

    Hi,
    I have succesfully applied the patch 9654983 (11.2.0.1.2 Patch set update) .
    But , I don't understand why sqlplus and the dbconsole still show me the 11.2.0.1.0 version.
    Did I miss a step ? pfile or spfile ?
    note the the registry$history table showo the 12.2.0.1 version and "PSU 12.2.0.1.2 " as comment.
    Thanks be advance,
    Daniel Tasseroul

    This is normal. PSU patches do not update the database version that is displayed. See MOS Doc 861152.1 (Do Patchset Updates (PSU's) Change the Oracle Release Version/Fifth Digit?)
    As long as you can confirm from the logs that the patch applied successfully without errors, you are good.
    HTH
    Srini

  • What is XI administrator's and Developer's actual job?

    What is XI administrator's and Developer's actual job?
    I am more towards XI administrator. Can you someone please tell me what's the actual job is?
    Regards,
    NS.

    Hi Narayanan,
    The roles of Xi developer and administrator are distinguished.  I'll mention some examples,
    XI Administrator....
    1. Installation and configuration of XI server.
    2. Post installation steps of XI server.
    3. Creating software Component and Software products in SLD.
    4. Also creation of namespaces will come under the roles of admin, as in our enviornment developer does'nt have the rights to create a new namespaces . Developer files up a request form to Basis team and an Administrator does the creation.
    5.Then there are many periodic activities like archiving of messages, deletion of messages , performance tuning if required, etc.
    6.Creating Business system in SLD .
    7. Assigning proper roles to individual user etc.
    8. Also Creation of an XI Track in CMS to transport your objects is a task of XI Administrator.
    XI developer.
    1 XI developer deals with the Scenario specific Repository objects like creation of Data type , message type , message interface,mapping ,etc.
    He is also responsible for the creating the configuration objects in ID.
    Hope this helps you,
    Yomesh
    Message was edited by: yomesh P Sharma

  • SQLPlus and SQLLoader needed for Sparc Solaris 2.6

    Hello,
    for a test i need the two Oracle utilities SQLPlus and SQLLoader
    for Sparc Solaris 2.6.
    Is there a test version available ???
    Thanks for information.
    Olaf.
    null

    hai Alan,
    Let me specific on the problem.
    I developed a fail-over software for Linux servers(need 2 servers of same configuration). In this servers ,there are two modes , Active and passive mode. At a time one can be active,and other passive. Clients can communicate the with the servers through a common alias ip address. But the actual ip address of servers can be different.Normally Active server would be having the alias ip.
    When switching take place from active to passive mode,server will be assigned with its actual ip address. When switching takes place other passive server becomes active and its get common alias ip address.?
    This is the actual scenario . And fake is used in Linux to refresh the arp table of immediate switching device.
    But i came to know that solaris os would do it normally when it switches .?
    Is this possible with solaris.?

  • Sqlplus and asmcmd

    Ello
    What are the default connect strings used by sqlplus and asmcmd when connecting to asm instance ?
    Is it "/ as sysasm" for asmcmd and operating system authentication for sqlplus
    or
    operating system authentication for asmcmd and none for sqlplus ?
    or
    both operating system authentication ?

    Ora_83 wrote:
    Ello
    What are the default connect strings used by sqlplus and asmcmd when connecting to asm instance ?
    Is it "/ as sysasm" for asmcmd and operating system authentication for sqlplus
    or
    operating system authentication for asmcmd and none for sqlplus ?
    or
    both operating system authentication ?I am not sure that I understand you properly. The default or what needs very little configuration, is the o/s authentication.
    Aman....

  • Who and when di the job get dropped?

    Is there a log of sorts that can tell me who and/or when a job got dropped from the schedule ? I use to see it in my query against user_jobs but now its gone.
    thanks

    Yes,
    you can.
    When you have used DBMS_SCHEDULER.LOGGING_FULL on the job that now is gone, in SCHEDULERJOB_RUN_DETAILS the drop of the job is logged, see the column OPERATION = 'DROP'. In SCHEDULERJOB_LOG you can even find back the job definition at drop time, see the ADDITIONAL_INFO column.
    regards,
    Ronald.

  • Why can't you let us download SQLplus and Net8 by itself

    Please use this forum to provide feedback about OTN content/services. All other posts will be DELETED.
    I want to be able to download Sqlplus and Net8 without downloading something else. I know it is packaged with other development tools. It would be helpful for those don't want to use Oracle's developemnt tools but just want to connect to Oracle database using sqlplus.

    The Oracle Client in the most compact way to get SQL*Plus and Oracle Net, although this is still quite large. SQL*Plus has a lot of dependencies on RDBMS libraries, and the Oracle Client is the best way for you to get just what you need.
    As the previous poster suggested, iSQL*Plus might be a better option, and this is included with the Server download, ie, Enterprise Edition, Standard Edition and Personal Edition.
    Alison
    Product Manager, SQL*Plus

Maybe you are looking for