Scheduler Runs Twise

Hi All,
I have created scheduler which executes one procedure daily at 8 pm.. Everything is very simple but the scheduler running twise every time. I am not getting why it happening.
Create script of the scheduler is :-
begin
DBMS_SCHEDULER.CREATE_JOB(
JOB_NAME           =>      'JOB_FOR_TRANSACTION',
JOB_TYPE           =>      'PLSQL_BLOCK',
JOB_ACTION         =>      'begin MIS_TRANSACTION; end;',
START_DATE         =>      SYSTIMESTAMP,
END_DATE           =>      NULL,
COMMENTS           =>      'JOB IS CREATED FOR TRANSACTION.',
ENABLED            =>      TRUE,
REPEAT_INTERVAL    =>      'freq=daily; byhour=20; byminute=0; bysecond=0;');
end;Will someone put some light on it.

Chanchal Wankhade wrote:
Hi All,
I have created scheduler which executes one procedure daily at 8 pm.. Everything is very simple but the scheduler running twise every time. I am not getting why it happening. post SQL & results that support the statement above.
How do I ask a question on the forums?
SQL and PL/SQL FAQ
>
Create script of the scheduler is :-
begin
DBMS_SCHEDULER.CREATE_JOB(
JOB_NAME           =>      'JOB_FOR_TRANSACTION',
JOB_TYPE           =>      'PLSQL_BLOCK',
JOB_ACTION         =>      'begin MIS_TRANSACTION; end;',
START_DATE         =>      SYSTIMESTAMP,
END_DATE           =>      NULL,
COMMENTS           =>      'JOB IS CREATED FOR TRANSACTION.',
ENABLED            =>      TRUE,
REPEAT_INTERVAL    =>      'freq=daily; byhour=20; byminute=0; bysecond=0;');
end;Will someone put some light on it.

Similar Messages

  • Periodic Alert scheduler runs during system downtime

    Hi,
    I have implemented a Periodic Alert and have activated the Periodic Alert Scheduler.
    The issue is that the 'Periodic Alert Scheduler' will run at 12AM everyday and our Prod systems are down during this time for backup. Can this be scheduled to run at a different time or will it resume once the systems are up?
    Thanks,
    R

    The alert will execute the scheduled run when the system is back up.

  • BO Explorer Indexing Schedules running on a regular basis suddenly stop running with no error

    Hi everyone,
    BO Explorer Indexing Schedules running on daily suddenly stop running,
    schedule doesn't trigger even with new infospace indexing and also checked by re-schedule.
    manual indexing works good, no issue with infospace.
    we are using BO4.1 SP2.1 clustered environment and all the Explorer server are exist in one node.
    Server restarting everyday.
    anybody have experienced this issue before? could you please support us to resolve this issue
    Regards,
    Ganesh

    I found one of the note (0001749028) related to similar issue,  workaround mentioned in this note is applicable to BI 4.0 SP7 or BI 4.1 SP1
    But our system is BO4.1 SP02 patch1. can we apply workaround mentioned in 0001749028 to BO4.1 SP02 also?
    anyone faced this problem before in BO4.1 SP02?, are applied any workaround?

  • DTW scheduled run

    Hallo everybody!
    I'm trying to use the scheduled run of DTW but it doesn't work
    I create the config file with DTW (config.xml) and saved it as described in the DTW help.
    Then I run the command
    "C:\Programmi\SAP\Data Transfer Workbench\DTW" u2013s "C:\Programmi\SAP\Data Transfer Workbench\config.xml"
    from Start \ Run (I also tried from Command prompt): DTW opens up but anything else happens!
    It seems that DTW is not able to load params from the xml file ...
    I'm using B1 2007 SP00 PL 42 ... and 47.
    Any idea how to solve the issue? Is there anything wrong in the command?
    Thanks a lot for your help!
    best regards,
    francesca

    Hello Francesca
    Tip, create a bacth file and change the directory to DTW path
    Filename: test.bat
    Contents
    cd C:\Programmi\SAP\Data Transfer Workbench\
    DTW u2013s "C:\Programmi\SAP\Data Transfer Workbench\config.xml"
    pause >null
    when did you configured your xml file, did you use test run or final run?
    Regards
    J

  • How to set schedule run..?

    Dear Expertise,
               How can we set schedule run for my custom BO's script..?  Is it possible in SAP BYD...
    Thanks
    Regrads
    Naveen Kumar N

    Naveen,
    This can be done through the creation of a "Mass Data Run" for your custom business object.
    You'll also need a Custom Query for your BusinessObject (you can't just use QueryByElements).
    Basically, you'll create a Query that allows you to select which BusinessObjects will be processed, select which Action that will be executed at the scheduled time, and then, once your mass data run is activated, you can add those screens to the main work center you use for your custom business object, then, through the front end, schedule the MDR to run periodically.

  • How attestation process scheduler runs?

    When i create an attestation process with following details
    starting date:10 August 2010
    schedule: run every one days
    Please tell me how many times in a day will this process run?
    When I tried to create attestation with above details,execution history showed that the process got executed multiple times in a day.

    It might be not what you had in mind but this might be a solution:
    mount a partition of your networked drive on: /var/log
    then all your logs will be on the NFS drive without editting a boatload of configs.
    You know that it is, of course, close to impossible to catch log-entries that happen before your NFS-mount,
    so you might want to consider something like this when mounting:
    kill -SIGSTOP <all logger-pids>
    cp -a /var/log /dev/shm/logtmp
    mount NFS-volume on /var/log
    cp -a /dev/shm/logtmp /var/log
    kill -SIGCONT <all logger-pids>
    this is it..more or less, far from complete ofcourse but you get the idea of what it is supposed to do.
    remember that you can't have, ever, any bootlog directly written to NFS during boot because during boot time your NFS is not mounted yet
    good luck !
    TSK
    Edited by: 833060 on 1-feb-2011 13:31
    by the way, Nicolas has a good point...is it worth the extra networktraffic and slowdown ?

  • Taking too much time in Rules(DTP Schedule run)

    Hi,
    I am Scheduling the DTP which have filters to minimize the load data.
    when i run the DTP it is taking too much time in the "rules" (i can see the  DTP monitor ststus package by pakage and step by step like "Start routine" "rules" and "End Routine")
    here it is consuming too much time in Rules Mapping.
    what is the problem and any solutions please...
    regards,
    sree

    Hi,
    Time taken at "rules" depends on the complexity involved there in ur routine. If it is a complex calculation it will take time.
    Also check ur DTP batch settings, ie how many no. of background processes used to perform  DTP, Job class.
    U can find these :
    goto DTP, select goto menu and select "Settings for Batch Manager".
    In the screen increase no of Processes from 3 to higher no(max 9).
    ChaNGE job class to 'A'.
    If ur DTP is still running , cancel it ie Kill the DTP, delete from the Cube,
    Change these settings and run ur DTP one more time.
    U can observer the difference.
    Reddy

  • How to get the date and time of the last KM scheduled run

    Hi Experts,
    I had a scenario where i need to send the last date and last time when the KM schduler runned.?
    Issue:
    I have created a Km sheduler, in that i have written the jave code to retrieve the details from a function module and getting the output from Func module and sending an email  to one administrator.It worked fine for me.this scheduler will run for every 20 mins.
    But now Abapers have included two import parameters in their Function module " Last date and last run".So i need to populate this iimport parameters dynamically.
    How can i acheive this?
    Please assist.Thanks in Advance.
    Thanks
    Sony.

    java.util.Date date = java.util.Calendar.getInstance().getTime(); //retrieve a date object
    java.text.SimpleDateFormat df = new java.text.SimpleDateFormat(dd-MMM-yyyy);
    String s = df.format(date); //10-Aug-2001
    String t = "15042001";
    df.applyPattern("ddMMyyyy");
    d = df.parse(t);
    df.applyPattern("dd-MMM-yyyy");
    t = df.format(d); //15-Apr-2001Hey it's Friday, I'm bored

  • How to see jobs scheduled, running etc...

    I need to see a list of all jobs scheduled and running in my Oracle database?

    view all running job
    SELECT a.sid, c.serial#, a.job, a.failures, to_char(a.this_date, 'mm/dd/yyyy hh:mi pm') startdatetime, b.what
    FROM dba_jobs_running a, dba_jobs b, v$session c
    WHERE a.job = b.job AND a.sid = c.sid order by a.this_date
    View all jobs
    SELECT job, to_char(last_date, 'mm/dd/yyyy hh:mi pm') lastdate, to_char(next_date, 'mm/dd/yyyy hh:mi pm') nextdate, failures, broken, what
    FROM dba_jobs
    ORDER BY next_date

  • List of BO reports failing daily and schedule run time

    Hi,
        Our BO reports are scheduled to refresh daily early mornings 2 - 6 AM and around 280 reports run daily. We want to know list of failed reports daily and measure run time differences for each report in different days and run time for all 280 reports.
    1. List of failed reports (to check if same reports are failing daily)
    2. Total run time for all reports
    3. Change in run for each report on different days.
    Could you please let me know how this kind of report can be generated.
    Regards,
    Nanda Kishore B

    Hello Nanda Kishore,
    Check below two links which can be helpful:
    For query builder, below link has a 4 part series of queries. You can find the other links at the bottom on the page
    BusinessObjects Query builder queries
    If you are using BI 4.x, then below link has a set of sample auditing universe and reports.
    I'm sure you can find the required reports in the attachment:
    Sample Auditing Universe and Reports for SAP BusinessObjects_4_x
    I think auditing would be the best way to get the information required.
    I hope this helps!
    -V

  • Backup won't run on schedule, runs randomly, why?

    Hi,
    I have backup scheduled to run every morning at 9:30. It rarely does. It runs about once a day, at random times.
    I'm usually on the net, it's not a connection problem.
    I tried trashing all prefs & checking permissions with disk util, no luck.
    Here's a snapshot of my recent backup history. Again, this plan is supposed to run every day at 9:30am, and my laptop is usually on & online at that time (all day, really).
    al pb 17 1.33   Mac OS X (10.4.8)  

    Hi,
    I have backup scheduled to run every morning at 9:30. It rarely does. It runs about once a day, at random times.
    I'm usually on the net, it's not a connection problem.
    I tried trashing all prefs & checking permissions with disk util, no luck.
    Here's a snapshot of my recent backup history. Again, this plan is supposed to run every day at 9:30am, and my laptop is usually on & online at that time (all day, really).
    al pb 17 1.33   Mac OS X (10.4.8)  

  • Auto Scheduled run of the Sql server management studio or a auto refreshing query

    Hi ALL ,
    This is a very different weird requirement but workaround  for one of my requirement  . Scenario is that sql server enterprise edition is installed on a vm . I create a session with the vm using the remote desktop . I have scheduled a ssis package
    on the server and it should run 4 am daily us timing but its failing . If in case a user is connected to the management studio package runs on time . So i have to disconnect from the remote desktop and its not possible for me to login at 4 am every day for
    running package.
    Requirement :  Is it possible that the sql sever management studio automatically turns on at 03:30 am and authenticates in .If that is possible my package won't fail . If this is not possible  is it possible that sql script auto refreshes every
    30 min's so what i can do i will run the auto refreshing script in the management studio once and will disconnect the remote desktop not the sql server session so my virtually my session on vm will end but vm is always on from the vcenter and there is some
    activity on the sql server management studio so even the application won't be closed after a stipulated time frame leading to running of my package on time.
    Please help

    Hi Latheesh NK ,
    Below is the error message SSIS one i extracted from the history :
    Date        3/8/2014 11:00:00 AM
    Log        Job History (SSIS package)
    Step ID        1
    Server        xyz\xyz
    Job Name        SSIS package
    Step Name        Package
    Duration        00:00:01
    Sql Severity    0
    Sql Message ID    0
    Operator Emailed    
    Operator Net sent    
    Operator Paged    
    Retries Attempted    0
    Message
    Executed as user: xyz\Administrator. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:00:00 AM  Error: 2014-03-08
    11:00:01.31     Code: 0xC0208449     Source: Data Flow Task 1 Source - Query [95]     Description: ADO NET Source has failed to acquire the connection {68D5B1D7-17B1-4F95-9B1D-7615425C4A07} with the
    following error message: "ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC0047017     Source:
    Data Flow Task 1 SSIS.Pipeline     Description: Source - Query failed validation and returned error code 0xC0208449.  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC004700C     Source:
    Data Flow Task 1 SSIS.Pipeline     Description: One or more component failed validation.  End Error  Error: 2014-03-08 11:00:01.31     Code: 0xC0024107     Source: Data Flow Task 1     
    Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  11:00:00 AM  Finished: 11:00:01 AM  Elapsed:  0.406 seconds.  The package execution
    failed.  The step failed.

  • How increase number of concurent schedule running task?

    Hi
    Does anyone know, how increase number of concurrent running schedule task?
    I was created ten instances of report (as user administrator). They were run every hour on the same time, but only 5 instances have status running on the same time. When one is finish, the next one is going to run.
    I don't know where can I increase value concurrent running task.
    I use BO XI R2 SP4 on AIX 5.3 TL7
    Best Regards,
    Krzysztof

    With Webi, Webi Job server does "administrative" tasks of scheduling webi reports, they are actualy run by Webi report server.
    So be carefull in increasing this value without increasing number of webi report servers !!
    There should be XIR2 sizing guide in articles section of this site - review it.

  • Schedule run issue: Late dates earlier than start/finish dates

    Hi,
    I am running into an issue with one of my contractors. When the contractor sends the xer file, all the critical late start dates are a day earlier than the start date i.e. if the start date is Mar 03, 2011 then the late start date is Mar 02, 2011. I am able to fix it at my end when I run the schedule but the contractor is not. Is there some feature in the global setting that the contractor has to fix in his end to resolve this issue? Any help or advice would be great.
    Thanks.

    Marc,
    When Project was first released there were only two basic start field, Start and Actual Start (in addition of course to the Baseline Start field and a few others). With the release of Project 2010, a manual scheduling mode was introduced. That's when things
    got a little more confusing. Instead of leaving the Start date as is, the Start field was converted to a text field and the old Start field was renamed as Scheduled Start. When in auto-schedule mode, both Start and Scheduled Start are exactly the same.
    Now to answer your questions. To keep it simple, let's assume you are using auto-scheduling.
    1. In order to keep the schedule dynamics intact, it is necessary to update the Start field to agree with what really happened, namely with the Actual Start date. If you do not enter anything into the Actual Start field, Project automatically assumes the
    task started as scheduled, on the Start date.
    2, Yes, Project does its scheduling based on the current plan which is represented by start, finish and other data. Once the project starts, that current plan must be updated so the actual date values come into play. As noted in the lead in paragraph, Scheduled
    Start and Start are the same for auto-scheduled tasks.
    3. Earned value is based on the actual values and the saved baseline data. The "point in time" you refer to is the timescaled data as of the status date.
    Hopefully, this clear up at least some of your confusion.
    John

  • Custom DB information on a Scheduled (Run Once, Now) Report Issue

    Hey,
    On our reporting system we have a few hundred crystal reports all with different database logon information native to the report. For all these reports, on the Process->Database tab in the CMC, we have the first radio button selected (Use original database logon information from the report).
    However, our custom reporting application is configured to pass custom DBServer name, database name, userID, password to the report to have it run against different DBs depending on the client that is running the report.
    When running the report online (not scheduled) this is not an issue, and the correct database information is applied to the report everytime. When running OFFLINE (scheduling the report to run once, run now), we are passing the same information to the report but in many instances, it is not working. If the report in the CMC has bogus native DB information that doesn't exist anywhere, the code to alter the custom DB information seems to be working properly. However, if in the CMC, the DB information is valid...the newly passed customDB information is not taking and not being applied to the report.
    Any help in resolving this would be great. This is the code function in VB .NET that passes the custom SQL information to the report:
                Private Sub cePassSQLCredentials(ByVal ServerName As String, ByVal DatabaseName As String, ByVal UserID As String, ByVal Password As String)
                    Dim currentLogon As ReportLogon
                    Dim tableIndex As Integer = 0
                    'Function to pass SQL credentials to all tables within the queued
                    'Crystal report.
                    While tableIndex < ceDoc.ReportLogons.Count
                        tableIndex = tableIndex + 1
                        ceDoc.ReportLogons.Item(tableIndex).UseOriginalDataSource = False
                        ceDoc.ReportLogons.Item(tableIndex).CustomServerName = ServerName
                        ceDoc.ReportLogons.Item(tableIndex).CustomDatabaseName = DatabaseName
                        ceDoc.ReportLogons.Item(tableIndex).CustomUserName = UserID
                        ceDoc.ReportLogons.Item(tableIndex).CustomPassword = Password
                        ceDoc.ReportLogons.Item(tableIndex).CustomDatabaseDLLName = "crdb_ado.dll"
                    End While
                End Sub
    Thanks,
    Scott

    Hi,
    I think you can not modify a job...
    Today there is the 11.1.1.6. And now you can do it. http://docs.oracle.com/cd/E23943_01/bi.1111/e22257/whatsnew.htm#CHDHEHIB

Maybe you are looking for