How to make a scheduled task to close after 5 minutes?

I have a program that should run for a minute or two, but sometimes crashes.  I created a scheduled task to run every hour, 10-minute course.  Everyonce in a while, however, he crashes and prevents it from running again the next time.  How can I stop the program after 5 minutes?

Hello

  1. Are what program you referring?
  2. What scheduled task you are trying to run for each hour, 10-minute courses?

You will get an adjustment to close the task if it runs for more than an hour.

I suggest you try these methods and check the status of the issue.

Method 1:

I would say allows you to delete a scheduled task, restart the computer and re-scheduled task and check the status of the issue.

Schedule a task.

http://Windows.Microsoft.com/en-us/Windows7/schedule-a-task

Method 2:

Keep the computer in a clean boot and check the status of the issue.

How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7.

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

Note: Please, go to step 7 of the Kb to maintain the computer to a normal startup after you fix the problem.

Tags: Windows

Similar Questions

  • whenever I start my pc it automatically opens the disc clean up, I don't want that. How to stop this scheduled task?

    whenever I start my pc it automatically opens the disc clean up, I don't want that. How to stop this scheduled task?

    Ive tried to delete, but I don't think that it wrks. It appears again on the performance of the tasks. I actually put it to daily nd now I can't undo this action. is it possible to change the disc clean up [Settings?] I can't find it. Ive tried properties, but it will not let u

    Hello

    read this information on the Defender:

    ·                         If you use microsoft security essentials avg avira mcafee norton etc they disable the vista version of windows defender by default

    the basics of Microsoft security has its own version of windows defender

    and other anti-virus programs use their own particular type of application to scan for spyware and malware

    It of nothing to worry and is the default action, which is designed for them to do

    and if you need to change startup programs read this information on the other methods of doing it without using defender

    using msconfig read this tutorial:

    How to use MSCONFIG in Windows Vista

    Here's how to use MSCONFIG in Windows Vista to disable some unnecessary programs that load automatically at startup

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    and also try this FREE program Autoruns:

    This utility, which has a knowledge of auto-starting locations of any startup monitor, shows you what programs configured to run at system startup or login and that the entries in the order of processing windows. These programs include those in your startup folder, Run, RunOnce, and other registry keys. You can configure Autoruns to show other locations, including Explorer shell, toolbar extensions, helper objects to the browser, Winlogon notifications, auto and many start-up services more

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

  • How to make a scroll animation constantly fixed after scrolling? I want the animation at the beginning when I scroll down, but I don't want the animated thing to disappear when I scroll to the top again.

    How to make a scroll animation constantly fixed after scrolling? I want the animation at the beginning when I scroll down, but I don't want the animated thing to disappear when I scroll to the top again.

    I know how to start the animation by scrolling down, but I just want that he stay there after him. Could you help me please, guys?

    Hi Tom,

    There is no native function to Muse to achieve this goal.

    Kind regards

    Aish

  • How to make a live website with BC after publication?

    How to make a live website with BC after publication?

    Hello

    You need push direct site, in the site admin dashboard, you will get the option "launch the Site.

    Please order this video:

    lyst-and-Muse-creating-and-publishing-sites/ http://TV.adobe.com/watch/Introducing-Business-Catalyst/Getting-Started-with-Business-CATA

    Thank you

    Sanjit

  • have the value never sleep, but closes after 20 minutes of display

    in the control panel I have put the sleep and display the option never, but show closes after 20 minutes

    Hello

    • Have you checked your screensaver if you listen to?
    • You see a message on the screen?
    • How to get back on the desktop when the display is gone?
    I suggest you to turn off the screen saver and check if it works.
    Here is the link:
    Enable or disable the screen saver
  • How to get a scheduled task to run when disconnected, but do not run hidden

    Under XP, I had an installation where I created a scheduled task to open a playlist of music at 07:00 every day which was basically I woke up.  In the evening, I would put my computer to sleep and in the morning, the scheduled task would automatically wake the computer, log in my user account and open the playlist with my music program.   In Windows 7, it's is not possible because:

    1. If I put the "execute task if the user is connected or not," the music program opened by the task is hidden, and I can't control or turn off the music player, because it is hidden.

    2. If I put the task 'Run only when the user is connected', the music player is is more hidden when it is launched, but it does not work in my situation because my computer is configured to automatically disconnect when it goes into sleep mode, and which is usually the case when I want the scheduled task to run.

    It worked perfectly well under XP but under Windows 7 it is broken, because, for some reason if a scheduled task is set on "Run If the user is logged in or not ', the window opened by the scheduled task is always hidden.  This was not the case in XP.  Why is this the case in Windows 7, and is there a way to make it work like it did in XP?

    It's a real shame, because it worked perfectly under XP without the need of any additional software overhead.

    It is the same for Vista. The cause is SECURITY!

    Learn more about it here:
    http://windowsteamblog.com/Windows/b/developers/archive/2009/10/01/session-0-isolation.aspx

    André

    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • How to run a scheduled task in specific (current) edition

    11.2.0.3

    I use redefinition of the basis for the development of a database. So far, the experiences have been good with it.

    We have three editions: ORA$ BASE = > BETA = > ALPHA

    BETA is the default edition. Development of new packages for this in ALPHA and then copied to the BETA and ORA$ BASE.

    We now want to carry out certain activities of pl/sql running for a long time as a background task.

    However. When we create a job regular db in ALPHA, it will run in the DEFAULT edition (BETA).

    I want to run a scheduled task in the same edition, where it was created from.

    It is a way to run configure a job normal regular db to execute in a specific edition?

    Example/demo

    -- test case run dbms_job as background 
    execute dbms_application_info.set_module('UT10_START_SESSION',null);
    execute dbms_application_info.set_client_info(sys_context('userenv','current_edition_name'));
    
    

    This test of construction scenario helped me narrow down the problem and find a solution.

    I need to perform the task with a dedicated job class. Job classes can add a service_name. The name of service in turn can be connected to a specific edition.

    first prepare the job classes

    ---Run as DBA
    begin
      dbms_scheduler.create_job_class (
       job_class_name => 'JCED_DEV$ALPHA',
       service        => 'ALPHA'
       );
    end;
    /
    
    begin
      dbms_scheduler.create_job_class (
       job_class_name => 'JCED_DEV$BETA',
       service        => 'BETA'
       );
    end;
    /
    
    begin
      dbms_scheduler.create_job_class (
       job_class_name => 'JCED_ORA$BASE',
       service        => 'BASE'
       );
    end;
    /
    
    grant execute any class to targetuserschema;
    

    Service names were already in place (you can use dbms_service to create a service based from version 11.2.0 edition.3).

    -- test case run dbms_job as background
    declare
      v_jobname   varchar2(30) := 'TestEditioning_UT10' ;
      v_starttime timestamp := systimestamp;
    begin
      dbms_scheduler.create_job(job_name            => v_jobname,
                                job_type            => 'PLSQL_BLOCK',
                                job_action          => q'[begin
      dbms_application_info.set_module('UT10_BACKGROUND_SESSION',null);
      dbms_application_info.set_client_info(sys_context('userenv','current_edition_name'));
      dbms_lock.sleep(60);
    end;
    ]',
                                job_class           => 'JCED_'||sys_context('userenv','current_edition_name'),
                                number_of_arguments => 0,
                                start_date          => v_starttime,
                                enabled             => FALSE,
                                auto_drop           => true);
    
      dbms_scheduler.enable(v_jobname);
    end;
    /
    commit;
    

    SID CLIENT_INFO SERVICE_NAME LOGON_TIME ACTION MODULE

    250 UT10_START_SESSION DEV$ ALPHA ALPHA 17.07.14 10:28:32

    251 UT10_BACKGROUND_SESSION DEV$ ALPHA ALPHA 17.07.14 16:23:26

    Success!

  • Scheduled tasks run twice after the upgrade to MX7

    I've recently upgraded to CFMX7 and now my scheduled tasks are run twice. I recreated all the tasks, restarted the server and made sure I'm on V 7.0.2 but nothing seems to help. Is there a solution for this out there?

    Thanks for the reply Matt! Actually, you helped solve my problem indirectly. The xml file does not duplicate list, but when I went to check the xml file, I noticed that there are 2 installations of coldfusion, one for MX and one for MX7. I checked the services and of course the CFMX and CFMX7 running at the SAME TIME! What a great feature! All you have to do is anyway for someone else out there with the same problem:

    Click Start/Run, type services.msc and click ok.
    Scroll down the page until you see the coldfusion services.
    right click on all coldfusion MX7 services are not labeled, and go to properties.
    you want to stop the service and set to manual start so that it does not start again to restart.

  • How to use the scheduled tasks in Windows Vista Home Premium 64-bit?

    We bought a new computer with Windows Vista, at our previous computer (Windows XP) planned to tasks in the control panel to stop future elements at the start of the system, how to keep the elements that it slows down my computer to come at the start of the system

    1. use Windows Defender to manage startup programs.

    2. http://netsquirrel.com/msconfig/msconfig_vista.html

    Read the above info.

    3 use this program:

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    This utility, which has a knowledge of auto-starting locations of any startup monitor, shows you what programs configured to run at system startup or login and that the entries in the order of processing windows. These programs include those in your startup folder, Run, RunOnce, and other registry keys. You can configureAutoruns to show other locations, including Explorer shell, toolbar extensions, helper objects to the browser, Winlogon notifications, auto and many start-up services even more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP.

    4. go into each program > tools > Options > see if you can disable the startup when Windows starts.

    See you soon.

    Mick Murphy - Microsoft partner

  • How to make my widow id to close more soon

    How do I close my widow id sooner then 30 days

    The period of 30 days for closing your Windows Live ID account cannot be accelerated. This is for your safety (doubts). Just it out.

  • [SOLVED] How to completely stop scheduled tasks?

    In Windows XP, there is an option to stop regular tasks completely witout changing setting of the task.

    However, I can't find this option in window 7, does anyone have any suggestions?

    I get 2 more sets of tasks on different countries. in window 7, will stop certain tasks in country A and I activate certain tasks, while I find in country B.  Y at - he features on the establishment of group in tasks planned for window 7?

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    Perhaps, I try the following approach instead, which is easy, sort by name to enable / disable using the same account.

    Task of 1000 US

    Task 1200 US B

    CA 1100 task has

    CA 1300 task B

    Thanks a lot for the suggestions

  • How to make ODI scheduling using the command to Mr. Please help me with the sample order

    Hi all

    We use m control for odi scenario planning. Can you please provide a sample order so that it is really useful.

    Thank you

    Kumar

    Create the script file and add it to the post of control-M. You the script content file should look like this.

    startcmd.sh OdiStartScen-SCEN_NAME = LOAD_CUSTOMER-SCEN_VERSION = 001 - CONTEXT GLOBAL =-AGENT_CODE = ODIAGENT001

    To learn more on the command line, see http://docs.oracle.com/cd/E14571_01/integrate.1111/e12643/running_executions.htm#ODIDG620

  • How to create the scheduled task oracle

    DECLARE
    jobno NUMBER;
    BEGIN
    SYS. DBMS_JOB. Send
    (work = > jobno)
    , this = > 'DEL_HIST_TABLE ';
    , next_date = > to_date (September 4, 2009 18:23 ',' dd/mm/yyyy hh24:mi:ss')
    , interval = > 'null '.
    , no_parse = > TRUE
    );
    SYS. DBMS_OUTPUT. Put_line (' job number is: ' | to_char (jobno));
    END;
    commit;


    I wrote the above work to operate on specific date and time

    but I want to convert the same to run

    everyday @ 01:00 using oracle 10 g

    Published by: [email protected] on May 17, 2009 23:39

    Hello

    You must set the interval then:

    MHO%xe> select trunc(sysdate) + 1/24 + 1 from dual;
    
    TRUNC(SYSDATE)+1/24
    -------------------
    19-05-2009 01:00:00
    
    1 rij is geselecteerd.
    
    MHO%xe> DECLARE
      2  jobno NUMBER;
      3  BEGIN
      4  SYS.DBMS_JOB.SUBMIT
      5  ( job => jobno
      6  ,what => 'begin null; end;'
      7  ,next_date => to_date('09/04/2009 18:23:00','dd/mm/yyyy hh24:mi:ss')
      8  ,interval => 'trunc(sysdate) + 1/24 + 1'
      9  ,no_parse => TRUE
     10  );
     11  SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(jobno));
     12  END;
     13  /
    Job Number is: 21
    
    PL/SQL-procedure is geslaagd.
    
    Verstreken: 00:00:11.39
    MHO%xe> commit;
    
    Commit is voltooid.
    MHO%xe> select interval from user_jobs where job = 21;
    
    INTERVAL
    ----------------------------------------------------------
    trunc(sysdate) + 1/24 + 1
    
    1 rij is geselecteerd.
    

    Published by: hoek on May 18, 2009 08:49 added to example

  • How to make the control to agilent 4980 after completing a measure of labview?

    I've been using the driver given by national instruments for the measurement of reading on the agilent 4980. The measurements are made very well, but after the measurement is done, I can control is no longer the RLC physical. Can what changes I make to the program to return control to the RLC physical?

    I have no instrument of agilent, so I have no idea.  You need find and go through the communication for the 4980 manual and see if there is a command.  You should be able to get on the site of manufacturers if you are lucky.

    Worst case it may be a reset command and then you need to stop communicating with her, otherwise she would probably just go back in a State remotely.

  • How to make a nonmodifiable fill-able form after distribution

    Hello

    I'm new to the development of Adobe. I have a requirement for a form of fill-able. There is an Email button send at the bottom.

    Once the user completes the form and click the send e-mail button that he will be sent to the email recipients listed in the E-mail address column.

    The main requirement is - recipients shouldn't see (invisible) the Send Email button at the bottom.

    And

    All fields must be protected.

    Any help is appreciated.

    Thank you

    Satya

    Hi there again,

    In LiveCycle Designer, to create a Script object, you need the hierarchy Palette open.

    In the hierarchy Palette, right-click on the highest subform (form1) and click Insert a Script object.

    Rename the Script object to xfaSubmit, this Script object insert the above setAccessField() function.

    Instead of using the default send button in LiveCycle Designer, you can use a normal button.

    This will not act as a validation button, so if you want to validate your form before you submit the form, you will need to create your own validation...

    In the button, you must call the function setAccessField() like that

    Page 1 is the page that contains all the fields that you want to assign to read-only

    xfaSubmit.setAccessField (page 1);

    then, once this is done, want to send the email using the reference I sent you, you will need to put this code in the setAccessField() function in the button submit, you have created

    It should look like this:

    It's the return of form e-mail. It is hardcoded

    to make the form comes back to the same address.

    Change of address on your form to match the code below

    var cToAddr = txtEmail.rawValue; //Here be sure to set the field you want to receive e-mail from

    First of all, download the customer email CC

    var cCCAddr = "";

    Now get the email of the recipient if it is filled

    var cBenAddr = "";

    Set text object and the body of the e-mail message

    var cSubjectLine = 'Form X-1 returned to customer'; //Here put the subject of the email

    var cbody = "thank you for submitting your form. \n' + 'save the attachment of the completed form for your records. //Here insert the contents of the email

    Send the PDF as an attachment to an e-mail

    this.mailDoc ({bUI: true, cTo: cToAddr, cCc: cCCAddr, bassujetti: cSubjectLine, CMSG: cbody});

    I hope this helps!

Maybe you are looking for

  • Hard drive recovery or support removes all other partitions?

    If I create an extra partition on my HP Pavilion hard drive and use a drive letter F: to store data and then use the partition recovery or media to restore to factory settings, my data secure or the recovery procedure to format the entire hard drive?

  • HP5520 Scan of the computer cannot be activated.

    Hello everyone I wonder if someone can help me.  I bought a HP5520 all in one printer this week.  I have put in all and I have no problem printing on my WiFi, but it will not scan. I use an iMac computer with operating system of 10.9 Mavericks. I fol

  • Reference of a loop

    Hello The question is perhaps silly, but I can't make the time to get what I want. Here it is: "how to measure the time of a Microsoft iteration loop in one? I can do that with a sequence structure by placing counters of impulses before and after an

  • Select a region in the plot

    Maybe I need to select a region in a field like the attached screenshot. When you select it, a yellow or another frame of color may appear. It may be rectangular or circle. After the selection, the image may disappear. And I can get the image positio

  • How to debug an applicatioon what

    Hello IM newbie on what development and I want to write a debug message with console.debug (QML) and qDebug() on c ++, but it does not work with me. is there another way to do the same thing? Thanks in advance