Not executed jobs with satisfied time windows ?

Hello all,
I have encountered a weird situation with scripts and jobchains that are using a time window. These scripts and jobchains are also using in their enclosing jobchain a pre condition that test whether their time window is satisfied or not (its status is set to 'skipped' if not).
For the execution of last friday, these scripts and jobchains went to the status 'Skipped' although the related time windows were satisfied:
TW specified to run on Friday (job planned for friday and not the following day)
TW specified to run on the last workday of the month (job planned for friday and not the following day)
So we have just made some tests with ad hoc script, jobchains and time windows to run on:
Monday
the first workday of the month
Both of the tests worked.
For information, these jobs have always run successfully (when needed) on others environments.
Have you any idea of what is going on with these time windows?! what could be the cause of that behavior?
Thanks anyway for your help.
Regards,
Yi Jiang

Hi Yi,
That's no problem, the cause is clear so this thread is useful because other people may also run into this.
Maybe a tip that could fix your issue: if you do not use systimestamp to verify if the time window is open, but use the (planned) starttime of the chain, you can avoid this issue.
By looking at if the starttime of the chain was on a day in a given timewindow, it no longer matters if the chain runs over midnight.
You may need to change other things too, because in this second case, you cannot use a real time window on the call because that would still be taken into account and if you run over midnight, the window may not be open.
So in this second scenario, you need:
- a separate parameter P_TIME_WINDOW (and P_TIME_WINDOW_PARTITION) on the call to indicate which time window the precondition should follow; the call itself will no longer have an actual time window
- a changed precondition, using the starttime of the chain and the parameter P_TIME_WINDOW (and P_TIME_WINDOW_PARTITION) on the call to determine if the call should run or not
Let me know if you need more information.
Regards,
Anton Goselink.

Similar Messages

  • Existing Apple ID is not longer working with Face Time and Message on the iPhone after iOS 6

    After the IOS 6 update on my iPhone the Apple ID is not longer working with Face Time and Message. Each time I try to log in I receive the message that the password or the user is not right. But they are, because on all other devices and all other parts of the iPhone (iCloud, AppStore, iTunes) they are working. Other Apple IDs are working fine.
    What's wrong? Any idea?
    Thanks

    Blue
    It sounds like you restored from an old back-up.  Did you back-up just before your software update?  It will use your last one and if your last back-up was a ywear old then it will use that one.
    In general, if you are getting these messages on your iPhones select logout (when you get that Apple Id request) and then log back in with your newer ID.
    Sorry for your losses.
    Cheers

  • Submit Multiple Job Definitions/Job Chains with same Time window/Submit frame in mass

    Hi,
    We have a requirement to submit multiple Job Definition/Job Chains which are part of common Time Window/Submit frame/Queue....
    Ex. We have over 50+ different jobs/job chains which will runs Monday to Friday for every 2 hours on same Queue "XXX_Queue".  Instead of submitting each job/job chain manually, we would like to know if we could use any script that can achieve our requirement? since we have couple of other jobs which fall under same scenarios...
    We are on M33.104 version. Please let me know if any one has any scripts or alternate way of submitting multiple jobs/job chains in mass.
    Thanks in advance!
    Nidhi.

    Hi Nidhish,
    Here is some code to set some stuff on a job:
    //Get the partition, for global this is not necessary as global is default
    Partition part = jcsSession.getPartitionByName("GLOBAL");
    //Get the job definition
    JobDefinition jobdef=jcsSession.getJobDefinitionByName(part, "System_Info");
    //Get the submit frame
    SubmitFrame sf = jcsSession.getSubmitFrameByName(part, "SF_Every_Year");
    //Get the time window
    TimeWindow tw = jcsSession.getTimeWindowByName(part, "System_Week_WorkingHours");
    //Set the start time
    DateTimeZone dtz = new DateTimeZone(2015, 10, 18, 15, 0, 0, 0);
    //Get the Queue
    Queue SystemQ=jcsSession.getQueueByName(part, "System");
    //Create the Job
    Job infoJob=jobdef.prepare();
    //Attach queue to job
    infoJob.setQueue(SystemQ);
    //Attach submit frame, time window, start time
    infoJob.setSubmitFrame(sf);
    infoJob.setTimeWindow(tw);
    infoJob.setRequestedStartTime(dtz);
    //Print out the jobid of the job
    jcsOut.println(infoJob.getJobId());
    //Submit the job
    jcsSession.persist();
    Regards,
    HP

  • App Builder produces "Not Executable" error with Strictly Typed VI Refs

    There is a very frustrating problem with the app builder in LV 8.0.1.  Certain VIs compile and run fine in labview, but the app builder
    refuses to make them into applications.
    The error message is very long and ends with something like "The VI is not
    executable".  Standard advice for this problem is to force LV to recompile
    everything you're building by either mass compiling or ctrl-shift clicking the
    run arrow, but this hasn't worked for me in two separate cases (completely
    different projects).
    It seems that this problem is caused by wiring a strictly typed VI reference to
    an invoke node with the FP.open method selected.  In both cases I resolved
    the issue by changing the Static VI Reference to be weakly typed (right-click
    the static vi reference and make sure "Strictly Typed VI Reference"
    is unchecked). After that, the project build successfully.
    This is very hard for a user to track down for several reasons:
     - The error message in the application builder does not give any
    indication as to what the real problem is
     - The app builder reports that the top-level VI is broken, even when the
    strictly typed reference and invoke node may occur in a sub VI
     - Nothing (that I can
    find at least) in the documentation suggests that strictly typed references
    won't work with the Open.FP method. 
    There is a page that says "some of the properties and methods do
    not work when you configure this function to output a strictly typed VI
    reference," but no indication is given of which methods fail
    Note that in one case I was also able to make the project
    build by deleting an instance of "IMAQ Create.vi" from the top-level
    VI.  I 
    have no explanation for this.
    Hopefully this post will save some other users the trouble
    of tracking this down and maybe even get NI to correct the issue for future
    versions.
    Adam Brewster

    Hello Adam,
    Thank you for sharing your experience and insight.  Your post was well thought-out and offered a
    good description of the problem as well as some possible workarounds.  I believe that the issue has been filed and
    is under investigation (3TU8T8V9).  Feel
    free to post back after the next LabVIEW release and inquire as to its status.
    Thanks again,  
    Travis M
    LabVIEW R&D
    National Instruments

  • Safari spontaneously quits (auto-quits) when left idle (not in use) with no Safari-window open

    Safari 6.0.5 on Mac with OS X 10.8.4 (Mountain Lion) on Mac mini (October 2012) 1TB Fusion Dive (700 GB free) 16GB RAM (8GB free) spontaneously quits (auto-quits) when left idle  (not being used use) with no Safari-window is open.
    Console says nothing. No error message. Safari shows open on the Dock, and after a while it os not there. It has quitted itself!
    How to fix it?

    That sounds normal :
    Automatic Termination

  • Visa Control grayed out when executable used with Run-time Engine

    When I run an executable on a machine with only the Run-time Engine the Visa Control for Com Ports is grayed out. I'm guessing that I am missing a library, but do not know which one.

    You need to install the VISA run-time. If you are just using VISA for serial communication, then there is an option on the app builder (Installer Settings>Advanced) for Serial Port Support. This will add a much smaller version of the VISA run-time engine to the installer you create. If you are using GPIB, etc., you have to install the hardware driver (i.e. NI-GPIB) and the full VISA run-time engine.

  • My executable compiled with Real Time Engine 5.1.1 in App Builder gives error when trying to run in App Builder with RTE 6.1

    Hello.  I built an executable using App Builder in LV 5.1.1 and now, years later, I am trying to run it in LV 6.1 but I get an error stating a requirement for Run Time Engine version 5.1.1.  To be able to run this, must I install the older version of Run Time Engine?  If so, where can I find the older version?  Do I have to install the older version of LabVIEW to get the RTE?  Will having both versions on my pc be a problem?
    I assume that once I am able to run the exe, that I will be able to recompile with the newer version of the RTE using App Builder.  Is this correct?
    I have been away from LabVIEW for several years and am a bit rusty on these details that I once knew.  Any help is appreciated.
    Alex

    The version of the run-time engine must match the version of LabVIEW that was used to create the executable. You can get any version of the run-time engine you want here. The only way to create a version 6.1 exe is to re-build it from the source code with diagrams. An exe has no block diagram so it cannot be converted to a newer version.

  • Firefox does not open links with a new window or tab for certain web sites, e.g. Santander On line banking, help links.

    When accessing some sites where they have links for additional information that would normally open a new window or tab, Firefox does not open either. This happens on a variety of sites, most recently the Santander on-line banking site.
    == URL of affected sites ==
    http://

    Such JavaScript links should show the image in the same tab, so make sure that you left click such links.
    * http://kb.mozillazine.org/JavaScript
    Try to reload the web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • Gap resolution is not  always happening with real time apply

    Hi
    I noticed a strange behavior in one of my 10.2.0.4 dataguards , and I am wondering if anyone else has encountered it :
    When there is an archive gap that need to be resolved , the gap is NOT always being identified and acted upon , when the recovery is started as such :
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT FROM SESSION.
    its just sitting there doing nothing, and nothing is written to the alert log regarding the gap and nothing is being transferred from the primary as needed.
    However, if I restart the apply , omitting the 'USING CURRENT LOGFILE' clause , the gap is identified and acted upon, as such :
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION.
    At first I thought its merely due to me stopping and starting the apply process ( nothing like a "reboot" , right ? ) , but that is not the case.
    if I restart , but still use the USING CURRENT LOGFILE clause , the gap is still not being identified .
    Anyone had this issue ? any theories as to why that happens ?

    Using Real-Time Apply to Apply Redo Data Immediately
    http://docs.oracle.com/cd/E11882_01/server.112/e25608/log_apply.htm#i1022881
    1.What is compatible parameter, it should be 11.1
    2.Try to check parameters mentioned in below link:
    http://easyoradba.com/2011/01/10/real-time-apply-in-oracle-data-guard-10g/
    Regards
    Girish Sharma
    Edited by: Girish Sharma on Nov 15, 2012 12:37 PM

  • Query on batch jobs with overlapping time during execution time

    Dear experts,
    This post is related to a task in SAP SCM EM module and currently I am working on an archival activity that comprises of two tasks to be done through 2 different programs (scheduled through batch jobs)
    Job 1 is created to deactivate particular Event Handler records (changing a status field on the EH record)
    Job 2 (archival job) runs daily and writes deactivated EHs to a local file and subsequently deletes this from SAP server.
    Archival job takes an average of 30 hrs to complete .
    Therefore my query is on how to schedule Job1, as these seem to be dependent and might impact each other in unexpected manner.
    Please advise.
    Thanks & regards,
    Mohan

    Hi Mohan,
    You can try as Daniel suggested. Delay Archieving job or can run after deactivating Event Handler records job is finished. Check any parallel processing is available or not.
    It can stop your overlapping issue and can increase your performance.
    Thanks,
    Bala.

  • Do not execute job during the night

    Hallo everybody!
    I have a background job that runs every 10 minutes.
    I don't want it to run during the night. Is it possible?
    Thank you very much indeed.
                 Mick

    This may be helpful to you: 'At Operation mode' while giving start condition. Sap documentation says:
    Operation Mode
    Procedure
    You can enter any name for the operation mode, but ensure that it is meaningful and that it makes the task of the operation mode clear.
    Examples
    Normal operation
    Night operation
    You may have to  configure this operation mode in SPRO according to your requirement.
    Thanks,
    Priyanka

  • Why is VI not executable using Labview 7.1 Run-Time Engine?

    Hi,
    In our Teststand sequence, we have a Labview Action step which is returning an error: "The VI is not executable", along with the error code: -18002.
    This error occurs on a Production PC using the L.V. 7.1 Run-Time Engine.
    I'm aware of Mass Compiling to ensure all the VI's are the correct version, but this has not resolved the problem.
    The software was installed on the production PC using a Teststand created installer, with the Labview Adapter set
    correctly to the Run-Time Engine, i.e. not trying to open the Labview Developer Server to execute the step at run time.
    Because it's the 1st Labview module to be executed, I added another similar step to run beforehand, i.e. the new simple
    Labview code ran first. This executed correctly, but then the next step caused the error above.
    The small number of associated sub-vi's are on the target PC, and have been mass compiled.
    I've had -18002 errors before, but this is one I cannot cure.
    All suggestions gratefully received.
    Gary.

    Hi Guys,
    Regarding this -18002 error when using the Run Time Engine instead of the Development Environment, what is the VI within the step that is failing (in any of the cases you've mentioned) trying to do? Are they built around any toolkits?
    In my experiments with a simple VI (with just a user dialogue) using the LabVIEW 7.1 RTE in both TestStand 3.1 and 3.5 this morning, I haven't found any issues
    There is a possibility if any of the sub-VIs or toolkits you use contain a Merge Errors.vi, that the Run Time Engine picks up a copy of the VI built for previous versions of the RunTime Engine (due to the order in which the sub-VI directories are scanned), and it cannot convert it.
    There are a few solutions for this, the easiest one looks to be to copy the error.llb\Merge Errors.vi for LabVIEW 7.1 into the same directory as the VI you're calling (so TestStand can pick it up easily).
    Can you let me know if this solution helps at all? If not, would it be possible to post up any of the code or sequence you're having problems with?
    Best wishes,
    Mark
    Applications Engineer
    National Instruments

  • Job is not executing

    Hi,
    I scheduled one package in test server but when I am scheduling that package on Live server it is not executing
    job is showing in user_jobs table but it is not executing. could any body suggest what is the problem?
    Regards
    Gagan

    could you give the commit a try. In my server, the total time is 0 for my job and i know that it completed. Maybe your test server is just slower.
    drop table testi;
    Create Table Testi(I Int);
    DECLARE
      X NUMBER;
    BEGIN
      SYS.DBMS_JOB.SUBMIT
        ( Job       => X
         ,What      => 'insert into testi values (1); commit;'
         ,Next_Date => sysdate+10/86400
         ,interval=>null
         ,no_parse  => TRUE
      Sys.Dbms_Output.Put_Line('Job Number is: ' || To_Char(X));
    End;
    Select * From Testi;
    select total_time from user_jobs;
    I                     
    1                     
    1 rows selected
    TOTAL_TIME            
    0                     
    1 rows selected
    Dave

  • Implementation of complex Time window

    Hi all,
    I want to allow script to run a particular day. Let's have this example to illustrate:
         - jobs are scheduled in the night of the last workday of the month to the day after
         - script S has to be executed the day after last workday of the month (past midnight)
    How is it possible to implement that with TimeWindows?
    First, I thought that it'd possible to use multiple time intervals to get a combination that satisfied my need:
         - Time interval for the last workday from 8pm till midnight
         - first workday from midnight to 7am
         - first saturday from midnight to 7am (in case, the last workday is a friday)
    But using this method allow the script to run at unexcepted times.
    Then, I saw the period functions "Last workday in month [-x] [to last workday in month [-y]]" that sounds good but :
         - period is only during a particular month, cannot be extended to the first worday of the next month
         - there is only functions for last workday but nothing for first ones
    I think it would be possible to implement myself the period functions needed, but Oracle functions cannot be exported with our current import/export tool.
    Finally I have no idea how to implement that. Have you any clue?
    Thanks in advance.
    Regards,
    Yi Jiang

    Hi Anton,
    Thanks for your answer.
    It's a chain. But it is not necessairly scheduled before midnight.
    And yes there are functions for first/second workday in the month but it's only on the current month and not thoughout following months.
    Another yes. the day after the last workday is not necessarily the first workday of the next month, but when it is the case, I cannot see any solution with the time windows implementation.
    So I finally got the following solution: using the precondition that check the TW to compare it with:
    - the current timestamp (starttime for ex) if it's before midnight
    - the current timestamp (starttime for ex) - 12 hours if it's midnight past
    Then, TW are defined as the scripts were launched before midnight in all case.
    Regards
    Yi Jiang

  • For the first time, I'm trying to use adobe premiere elements10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or

    For the first time, I'm trying to use adobe premiere elements 10 that came with my pc Windows 8. I created a single project, saved it but cannot open it. My pc shows the file I created but I get an error message that says this type file is not supported or the codex is not installed. As a test, I created another very small project and get the same error message, when I try to open it. Pls give me a simple answer, a refund or a phone

    mike frischenmeyer
    What computer operating system is your Premiere Elements 10 running on? And, what video card/graphics card does that computer use?
    Is this the first time you are using Premiere Elements 10 or have you worked with it before successfully? There is no easy solution until we
    know the details and troubleshoot to determined what caused the problem.
    1. Can you open a new project?
    2. After you saved/closed the problem project, did you move, delete, or rename any of the files/folder that were related to the source media
    for that project?
    3. Please review the Adobe document on troubleshooting damaged projects.
    Troubleshoot damaged projects | Adobe Premiere Elements
    4. What are the steps that you are using to reopen this saved closed project.
    a. File Menu/Open Project/Name of Project
    b. Other
    Please review and consider and then we can decide what next based on your further details and results..
    Thank you.
    ATR

Maybe you are looking for