DB Scheduler problem

Dear friends,

Seasonal greetings.

I used Windows Scheduler but there problems a lot more then I expected once he treats bat files (to schedule the backup), but now I'm trying to use the Scheduler.

It's my Planner:
begin
dbms_scheduler.drop_job('test_job1');
end;
/ 
 
begin
dbms_scheduler.create_job(
job_name               => 'test_job1',
job_type               => 'EXECUTABLE',
job_action             => 'D:\Oracle_Backup_data\Details\script\Mars\MarsBackup.bat',
start_date             => '29-JUNE-2010 11:32:00 AM +08:00',
repeat_interval        => 'FREQ=DAILY',
ENABLED                => TRUE,
COMMENTS               => 'perform daily backup'
);
END;
 
select * from user_scheduler_job_run_details
where job_name = 'test_job1' -- output is null
 
select * from user_scheduler_jobs
--6     TEST_JOB1          SYS                         EXECUTABLE     D:\Oracle_Backup_data\Details\script\Mars\MarsBackup.bat     0               CALENDAR     29-JUN-10 11.32.00.000000 AM +08:00     FREQ=DAILY                                   DEFAULT_JOB_CLASS     TRUE     TRUE     FALSE     SCHEDULED     3     1          0          0     29-JUN-10 11.32.00.094000 AM +08:00     +000000000 00:00:00     30-JUN-10 11.32.00.100000 AM +08:00               RUNS     FALSE     TRUE          TRUE     1     NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENCY='AMERICA' NLS_NUMERIC_CHARACTERS='.,' NLS_CALENDAR='GREGORIAN' NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LANGUAGE='AMERICAN' NLS_SORT='BINARY' NLS_TIME_FORMAT='HH.MI.SSXFF AM' NLS_TIMESTAMP_FORMAT='DD-MON-RR HH.MI.SSXFF AM' NLS_TIME_TZ_FORMAT='HH.MI.SSXFF AM TZR' NLS_TIMESTAMP_TZ_FORMAT='DD-MON-RR HH.MI.SSXFF AM TZR' NLS_DUAL_CURRENCY='$' NLS_COMP='BINARY' NLS_LENGTH_SEMANTICS='BYTE' NLS_NCHAR_CONV_EXCP='FALSE'               perform daily backup     18876496
 
select * from dba_scheduler_job_log
--53     473     29-JUN-10 11.32.00.344000 AM +08:00     SYS     TEST_JOB1          DEFAULT_JOB_CLASS     RUN     SUCCEEDED                    <CLOB>
 
select * from dba_scheduler_running_jobs --no output
I do not see the backup is made. The backup files are not generated.

The locale of the server is just like r except for the country which is the Malaysia.

Please guide me.

Nith

Can you post he text of the MarsBackup.bat file?
Sorry post here
Select ADDITIONAL_INFO in dba_scheduler_job_run_details
where job_name = upper ('test_job1');

Published by: Alex on June 28, 2010 22:27

Tags: Database

Similar Questions

  • Task scheduling problem.

    I am facing a problem to run a vb.net (".exe") by win xp Task Scheduler. Error: "0x80070005 access denied"You are not authorized to perform the requested operation"

    Sound essentially come when setting up "set password".

    Hello

    Thanks for the reply.

    1. Have you tried the steps in this http://answers.microsoft.com/en-us/windows/forum/windows_xp-performance/win-xp-pro-scheduled-tasks/a4a7b792-c650-43be-ab38-d7a1140331bb as thread suggests?
    2. Are you logged in as administrator?

    This problem occurs because only members of the Group administrators or users with administrative rights can schedule a task to run under a different user account.

    Reference link:

    http://support.Microsoft.com/kb/816731

    Retrieve the details required; also let us know the result of the suggested troubleshooting steps.

  • ODI scheduling problem

    Hello

    My Installation:

    ===

    Windows 64 - bit

    ODI

    MS SQL 2008R2

    ====

    I got stuck on "ODI scheduling" getting on the truck. The problem is that I couldn't set up correctly (to the best of my knowledge) the agent. Well, not exectly... I could run manually the loading procedure (a bunch of interfaces)... well... when I tried to program this loading... I failed. referring to the documentation... I should install Oracle Web tier utility 11.1.1.2.0 and 11.1.1.3.0 (patch). This fine... but I could download only 11.1.1.7.0 (the latest version till now) and that's OK, since by my support, it has all the characteristics of slender and features.

    Then, another problem with odiparams.bat odi_opmn_addagent.bat and agentcreate.properties.

    For example, the docs - http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_11g/odi_opmn/odi_opmn.htm specifies

    odi_opmn_addagent.bat as follows:

    • ODI_HOME is the path of the directory agent under your ODI 11g, for example:
      C:\WEBTIER_HOME\Oracle_WT1\odi_standalone\oracledi\agent, etc.

    but in the 11.1.1.7.0, installation of the system (by default) created C:\Oracle_BI\Oracle_WT1\ < as < css >, < Diagnostics > subdorectories, etc.  and not to create the path 'odi_standalone\oracledi\agent '.

    In addition, I have this \oracledi\agent < ODI_HOME > and not somewhere else...

    So, please, I desparatelly need your help to solve this and I would appreciate if you could send me the sample of the < *.bat > and < *.properties > files for installation, above.

    Best regards

    AL

    Hello Anatoly,

    Set JAVA_HOME=C:\Java\jdk1.6.0_31

    You can delete the file odiparams.bat , no need to JAVA_HOME.

    In addition, uninstall ODI which is on the C:\oracle\product\11.1.1\Oracel_ODI_1\oracledi\agent\bin path (if the other ODI installed works fine)

    Set ODI_MASTER_URL = jdbc:weblogic:sqlserver://ASUS-67:1433

    As above the line in odiparams.bat, you must add the name of the data base Master repository as below:

    Set ODI_MASTER_URL = jdbc:weblogic:sqlserver://ASUS-67:1433; databaseName =

    I think that adding OPMN agent, you should try from the autonomous agent command prompt. Check if this step is successful.

    go to the path C:\Oracle_BI\Oracle_ODI1\oracledi\agent\bin to guest & type
    Agent.bat '-NAME =""-PORT 20910 = " " '.


    See if it starts your independent agent in command prompt.
    For the test ODI Scheduling, this enough as a first step.


    Thank you

    Santy.

  • BI Publisher scheduling problem

    Hi Experts,

    Our BI Publisher is currently integrated with siebel, whenever I tried to generate 35 k records beep report via the manual generation of siebel, she successfully completed, however when I tried it generate via chime it fails. You have no idea why this is happening? Note that if I generate less number of Scheduler beep files successfully generated the report. Hope you could help me with that.

    Thanks in advance!

    I think that if you see the solution carefully, they asked to use the interactive rather planning to what u get the fix.

    and asked to implement the solution in this link for large reports

    https://support.Oracle.com/epmos/faces/UI/km/DocumentDisplay.JSPX?_afrLoop=560666563922074&ID=1064043.1&_afrWindowMode=0&_adf.CTRL-State=j5m2csomr_120

    check the link?

  • scheduling problem

    Hello

    I created a package and when I run it manually runs without error.

    I created a scnerio and on the planning section, I put this package "Daily 01:00"

    but it does not work and I'm checking sessions, there is no session, no newspaper.

    Please explain how I can handle this?

    Thank you

    After scheduling, go to the topology and open your agent.
    Then click on "update calendar". Once updated your script will run at the specified time.
    Thank you.

  • Job scheduling problems

    Hi I need quick fix Q812400 and future article Q812960 I tried to contact Microsoft by e-mail and said that no aid was available, because this is the OEM of XP version so I need to contact Toshiba but I can't find anything here either anyone can help.

    Hello

    As much as I know these miracle solution does not exist in Service Pack 2.
    I have this case you must download SP2 from the Microsoft site and install it.
    Also, I found a site of Microsoft on this miracle solution.

    For 812400:
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;812400
    For: 812960
    http://support.Microsoft.com/default.aspx?scid=kb;en-us;812960

    Best regards

  • acquisition video framerate

    Hello

    I tried to acquire images from a camera to 30 frames per second for the time-sensitive image processing. Currently I have a while loop with grab imaq acquire wired to imaq avi writing framework. The calendar of the loop is controlled by a wait function (ms). Of course, the framerate is dictated by the calendar of the loop, which is my main problem. For 30 fps, it's Ms. 33,333333 image which causes a rounding in the calendar of the loop error. So I make more images that I had because he's grabbing frames slightly faster than it should be.

    I'm sure that many others have solved this problem, but the solution is not obvious for me. So nobody knows how to properly control the framerate?

    Thank you

    -TJ

    TJ-

    It seems that the link that you are is because the OS (all PC actually) and the camera have only a 1 kHz clock, so you're stuck with 1ms intervals.  In the software, there are still several ways so here:

    Solution of hack:

    Change the time of your delay loops: 33,33,34,33,33,34,...  This corrects your rounding error, but will give you up to 0.6666ms dithering in your signals.

    Best hack:

    Your feedback to vary your curls to delay time: run a timer and use it to adjust the ignition to 33 or 34 depending on where your<1ms rounding="" error="" is="" at="" that="" particular="">

    Cheap, best solution:

    Get a camera, you can set the schedule in the material.

    Best with what you have:

    Down timer windows 1ms.  The structure to use is a loop timed (under timed in the Panel of structures structures).  It will default to your timer 1 MS Windows, but you can use any material timing you have.  One of your tips will probably have a timer of 1 MHz, which will improve your scheduling problems and dither in 1000 x.  If you still need more, you can then use some notches above.

    At the end of the day, it is a hardware problem and would resolve 'better' in the material.  However, there is always plenty of ways to do it.  In fact, I am sure that the gurus NOR can happen to many others.

    Good luck.  Play with these corrections and keep learning,

    Casey

  • Continuous recording 6008 to PDM

    I need to record data over long periods of time, using NIDAQmx and WinXP with a USB NIDAQ 6008.  Record to the TDMS format is probably very effective since the data is stored in binary format, 2 bytes per channel. I made some changes to one of the files example in order to obtain continuous to a PDM file. Allow me to include the source code hacked and the display of error message. Note that the size of the buffers have been adjusted in sector size (4096) on the Windows XP computer. Two problems:

    (1) data reading takes place approximately 3.5 times more slowly than anticipated, judging by the screen updates every 1000 measures.

    (2) after approximately 3300 samples, the program crashes with the error attached screen, indicating the saturation of data in the data buffer.

    If I change the data rate for example 500 samples/s instead of 1000 samples/s, there is no difference in behavior, so is probably not because of scheduling problems.

    Change the ConfigureLogging parameter of Val_LogAndRead to Val_Log (naturally!) produced an early error message, which indicates that data reads may occur while recording takes place. I strongly suspect a coding error.

    Any advice will be highly appreciated. Best regards, Willem

    Hello. I'll try to answer some of your questions.

    The value of No.Samples / channel in affected ReadAnalog64F64 work and product of errors when certain values were used. I finally got him to the system default value. What does this parameter actually mean if you samples at a frequency of 1 Hz?

     

    When you're constantly sampling, the number of samples per channel setting indicates overall how many values to withdraw from the buffer each time. By default, you put in (DAQmx_Val_Auto) is - 1, which means that each time, he grabs all available in the buffer. If the table you are dumping is too small for this (according to the parameter ArraySize), based on the values you were here before, you might not have been attracting enough data at the same time to avoid that the buffer overflows.

    Is the parameter ArraySize in ReadAnalogF64 must exactly match the size of the array [] data?

    I think this technically isn't "need." It basically puts forward for how the points table is great. If you put a value smaller than the actual size of the table, then you'll be sure mistakes. If you put a number larger than the actual size of the table, and then the program attempts to write on the Board with more values it can hold, you will probably get an index of table by mistake. Don't forget, as I said in the question above, when the function DAQmx entering values in the buffer zone, it examines the ArraySize parameter to check its limit, not in the table itself (it's how that points to a table usually works, and is a common point of frustration in C code).

    Should it be the same as the last parameter in CfgSampClkTiming?

    N ° the last parameter in this function in continuous mode, actually used to determine the buffer size (Note: this does not set the size of the buffer, it helps to determine what size of buffer).

    In addition, how sampsPerChannelToAquire is bound to the values of the parameters in RegisterEveryNSamples?

    You are right that they do not relate. The settings in RegisterEveryNSamplesEvent set the number of samples waiting to happen in the buffer (or leave the buffer in case of output) before firing an event.

    You can find much more information on this topic in LabWindows help. If you go to LabWindows > help > contents > choose the Index tab and scroll to the bottom in alphabetical order for «DAQmx»... ", then you will find the list of all these functions DAQmx. If you double-click on one, you get a description of the function and each of the parameters. This might help clear things for you. All these names sound very similar settings and can be confusing, so it is a reference tool handy to clarify things.

  • Planning of the CPU

    Hello

    I recently inherited a Setup.

    What we discovered was a guest with 8 cores (dual, quad-core processors). It has eight virtual machines running.

    Each of them has been configured with 4 vCPUs. Performance was pretty terrible, as you would expect scheduling issues.

    I've reconfigured seven with one vCPU and two vCPU. Performance is significantly improved.

    The thing about this issue is it was painfully obvious by looking at the configuration. Looking at the indicators of performance, however, what we saw was the counter which showed the use CPU was down around 20% on the host.

    So my question is how do troubleshoot you less obvious examples - where would you diagnose performance due to CPU scheduling problems?

    You would with ESXtop or performance counters.

    in ESXTOP, you scale the CSTP meter to see if coscheduling is causing a problem.  Also watch % RDY to see if you are invading your CPU.

  • BI Publisher programming error

    Hi Experts,

    I have some of my BEEP integrated with siebel reports. I agree that if I schedule a report genreate has 1.5 k + records always got this kind of error:

    oracle.apps.xdo.servlet.scheduler.ProcessingException: oracle.apps.xdo.servlet.data.DataException: asked the data type does not match the existing data type
    at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:983)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:418)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
    to org.quartz.simpl.SimpleThreadPool$ WorkerThread.run (SimpleThreadPool.java:520)
    Caused by: oracle.apps.xdo.servlet.data.DataException: asked the data type does not match the existing data type
    at oracle.apps.xdo.servlet.data.server.DefaultDataSet.getString(DefaultDataSet.java:178)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:173)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:413)
    at oracle.apps.xdo.servlet.CoreProcessor.processScheduledRequest(CoreProcessor.java:362)
    at oracle.apps.xdo.servlet.CoreProcessor.generateScheduledDocument(CoreProcessor.java:114)
    at oracle.apps.xdo.servlet.ReportImpl.renderScheduledJob(ReportImpl.java:357)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.generateReport(XDOJob.java:977)
    ... 3 more

    Do you have any idea what can be the solution for this problem? :)

    Published by: mr_bip_learner on February 8, 2013 12:30 AM

    Visit this link BI Publisher Scheduling problem

  • Problems with synchronization of schedules on Cliq XT Google

    Hello, I've had my phone for over a year and I've never had this problem. My calendar has always worked well until the last few days. I have a few google calendars which are synchronized to my phone, but I noticed this week that only some of the events are displayed on my Cliq XT. Can someone help me please understand how to display ALL my events? It's as if only a few events of each of my calendars are showing (a schedule is no longer watch anything).

    Thank you very much!

    It's been a while since I had 1.5 as well. To research how to delete a google account on 1.5

    Meanwhile, a surefire way to break the bond of account would be to change the password of your google account on your computer. After you do this, restart the phone and it should complain. You can always change the password immediately.

    UPDATE: try to delete the application data for the following applications:

    Google Apps

    Google Mail

    Google mail storage

    Then try to remove the account in settings > accounts.

  • Problem with DAQmx Schedule VI (sample clock)

    Hello to you all,.

    I'm new to this forum, please bare with me. I have some experience with LV, but I am relatively new to data acquisition projects. I use LV2009.

    I want to make sure that I use the hardware timing (instead of software distribution) in my project so I followed some of the threads here as sugested to use DAQmx Schedule VI. The problem is that no matter how I set the system I get the same error-200300 invalid calendar
    type.

    The project is simple. I encode with 1000 pulses per
    Rev and it is mounted on a shaft of a turbine water goes thru. I'm watching the frequency
    and so the rotation of the shaft which tells me that the amount of water flows through the turbine. In the end, there will be 2 channels
    by every encoder and ~ 3 encoders (turbines) total and calibrated the main meter that will give me constant impulses and all encoders will be compared to this master frequency.

    I'll use PCI6602 DAQ, but
    now, for the development, I use USB6221. Let's say that the
    frequency is between 500 Hz and 10 kHz. What I am doing wrong? Or maybe better to ask - what would be the right approach for this project?

    Thank you

    Marty

    Hi Marty,

    It seems that your question is already answered here, but Jason is correct that the 6221 neither the 6602 support a clock sampling for frequency measurements.

    As Jason mentioned, your best bet is also likely set the mode of synchronization for "implied". This means that the frequency value is sampled at the end of each period of your input signal. In addition, a solution that is clocked by the software (On-Demand) might be acceptable.

    X Series DAQ devices allow an external sample clock to use for frequency measures (described in the Manual of X series). Frequency of sample-clocked measures are useful in very specific
    circumstances, but it does not seem that you need this feature based on what you've described so far.

    (621 x) bus-powered M series can also be configured to use an external sample as the X series clock but do you not have the same features described in the manual of the X series.

    I hope this helps!

    -John

  • Problem of 'Scheduled task': status "could not run.

    I checked "Troubleshooting" to schedule tasks and noted the recommended action: program /?, but don't know not where/how to open command prompt in the backup utility. What is the right approach to the problem?

    Thank you

    Hi Phil,

    I suggest you to scan sfc and check.
    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
    http://support.Microsoft.com/kb/310747

    If you are prompted to insert a Windows XP SP2 CD when you try to run the. System File Checker tool

    Refer to this link:

    http://support.Microsoft.com/kb/900910

    Registry WARNING: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see this link: http://support.microsoft.com/kb/322756

    I hope this helps!

  • Missing Task Scheduler. How can I solve this problem?

    Hello, I'm starting an online backup service.  Their staff of support said that my windows xp media edition 2002 missing Task Scheduler.  How can I solve this problem?

    Look at the link below:
    http://forums.techguy.org/Windows-XP/730142-solved-Task-Scheduler-missing-services.html

    If the key is missing from the registry, you can try to import from another Windows XP computer, or look at the link above.

    Thank you

    Marilyn

  • I have a toshiba laptop purchased recently. After the scheduled updates it does not recognize the wireless network. I have to do a system restore. is there a solution for this problem?

    I have a toshiba laptop purchased recently.  After the scheduled updates it does not recognize the wireless network. I have to do a system restore.  is there a solution for this problem?

    Hello

    Make sure you have the latest network adapter drivers fron toshiba

    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp

    and if windows update is at the origin of the problem change how to get updates to uncover the problem update

    When you have found the issue, a right click on it then invited uac then hide

    read the information on the link below

    http://www.bleepingcomputer.com/tutorials/tutorial140.html

    Download updates but let me choose whether to install them - if you select this option, Windows will download the updates on your computer, but not install them automatically. If you want to install updates, then you must install them manually. You should only select this option if you have a reason to not install updates automatically. Only advanced users should use this option.

    Check for updates but let me choose whether to download and install them - if you select this option, you'll be alerted when there are new updates available for download and install. You can then choose to download and install the updates that you want. This option should really be reserved for people who know exactly which updates they need, or those who have little access to the Internet.

Maybe you are looking for