Put an end to a background process

Hi all

quick question: I have two processes in the background. A process may be notified to close by SMS. But when it stops I want to close my second method as well. What is the best way to do this?

I put a 'note' the runtime-store before stopping the first process. If the second process reads the note, it stops as well. Problem: I can uninstall my first process and then I need a reboot. After the reboot, my ticket is lost (the second process sleeps most of the time...) and the second process will not stop... Same problem using the store persistent during the withdrawal of my candidacy...

Any ideas?

Thank you!

Steve

If the app is yours, you can send an order of termination through a global event.

Tags: BlackBerry Developers

Similar Questions

  • Some performances are not completed to help put an end to everything in the model of parallel processes

    Hello

    This question confued me recently, I would use a parallel process of model and to finish running at the same time.

    If there are action steps in order, it seemed that will put an end to the execution of all.

    However, I put a wait instead of steps of the action function, there are a few executions not interrupted while I pressed the button finish everything in the toolbar.

    Hope someone can give me help. Thank you very much.

    PS. the number of testsockets has the value 9 in my teststand.

    I ran your sequence again, and I have reproduced the issue.

    It seems the action of the polls Test for success/failure of the VI at full speed.

    It will consume your CPU resource to 100%.

    So I add some delay in the VI to prevent election full speed.

    Please see the following block diagram.

    I tried and it seems resolved the problem.

    Ting

  • Disable "Do you want to put an end to this process?" pop up

    What is a necessity to do to eliminate that pop-up of the elimination of the unnecessary process (do you want to put an end to this process?) that anyone gets any time we use the Task Manager to remove a process? Do it!!

    I was unable to find a way to remove the warning message - I think that it is incorporated into the code.  I searched the registry and found no entry to complete the process and nothing meaningful for same Task Manager - so it must be controlled by a system file which, if we could find the same, cannot be changed by all the means available to us (which means that you or me or probably anyone outside the development of Microsoft).  I suspect that they put there to make sure that a process or service, or that is not finished by accident (which could cause the system to crash).  In fact, despite the annoyances (like you, I too would turn off if it were possible, because I am convinced that what I'm doing), I agree here because the consequences of a mistake can be severe, and too many people are not careful enough when you press the buttons.

    Then I tried to use another program, Process Explorer, http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx which is an improved version of the Task Manager. However, when I went to kill a process, I had again a confirmation warning message - if this isn't a way to bypass the confirmation message.

    Sorry if this isn't what you wanted to hear, but this confirmation message cannot be disabled.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • The application is not responding. The program can meet again if you wait. You want to put an end to this process

    Whenever logged on windows 7, I get the following message:

    "The application is not responding.  The program can meet again if you wait.
    Do you want to put an end to this process"with the choice of the end of the process and cancel.
    When I type complete the process the screen shows my wallpaper and not icons or the bar of windows at all. When I hit Cancel, the message of disappears for around one minute and shows up again.
    I can't use my phone at all in this way, so I hope you can help me.
    Sven

    Reboot the PC by using the F8 key at startup, this time select command prompt, and then follow the instructions for restoring the system;

    http://Windows.Microsoft.com/en-GB/Windows-Vista/Start-System-Restore-from-a-command-prompt

    Select a restore point to a period where it was all is OK

  • The call to the Workflow background process explicit in the pl/sql code

    Hi all

    We have a requirement where we need to call the "Workflow background process" explicitly in the pl/sql code.
    Our wish is that we have an application that runs via a competing program, but before the end of this application we want to put that on the wait and run the 'Workflow background process"explicitly in the code itself (user must not go and run it manually).
    Can someone please advice me how to do this in a PL/SQL code that is called via a concurrent program.

    Kind regards
    Shruti

    PL post Details of the operating system, database and versions EBS.

    One solution is to use the FND_SUBMIT API

    The most common FND API in APPS customizations [ID 221549.1]
    Code example for call Customer Interface RACUST program using the Api FND_SUBMIT 11i and R12 [429278.1 ID]

    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_SUBMIT&objid=C3&DateRange=all&userid=&NumResults=15

    HTH
    Srini

  • PMON (ospid: 8143): put an end to litigation because of the error 472

    Hi friends,

    _ My environment

    OS: oel4u5
    Apps Version: R12.1.1
    DB version: * 11.1.0.7 *.

    When I am trying to start my 11 g db database ebiz began and its automatically goes down because of termination PMON.  When looking for the log files alerts its showing the error ora-600 below.

    Recovery of the recovery (PMON) file 4 block 180627 block
    Recovery of 125 logseq block, block 70 to 10132192035480 SNA
    Online Redo Log recovery: thread 1 mem Group 2 Seq 125 reading 0
    Mem # 0: /ebiz/oracle/db/apps_st/data/log2.dbf
    Recovery of block completed in rba 125.281.16, RCS 2359.364184220
    Errors in the /ebiz/oracle/db/tech_st/11.1.0/admin/TEST05_erptest05/diag/rdbms/test05/TEST05/trace/TEST05_pmon_8143.trc file (incident = 49647):
    [ORA-00600: internal error code, arguments: [4194], [41], [37] [] [], [], [], [], [], [], []]
    Errors in the /ebiz/oracle/db/tech_st/11.1.0/admin/TEST05_erptest05/diag/rdbms/test05/TEST05/trace/TEST05_pmon_8143.trc file:
    [ORA-00600: internal error code, arguments: [4194], [41], [37] [] [], [], [], [], [], [], []]
    PMON (ospid: 8143): put an end to litigation because of the error 472
    Instance terminated by PMON, pid = 8143

    Error message depending on what I found in the trace file /ebiz/oracle/db/tech_st/11.1.0/admin/TEST05_erptest05/diag/rdbms/test05/TEST05/trace/TEST05_pmon_8143.trc

    (call) sess: 5f1efd10, 5f1e5ff0, usr 5f1efd10 rec news; depth: 0
    ksudlc FALSE to the location: 6
    (table k2g)
    error detected in 472 background processes
    [ORA-00600: internal error code, arguments: [4194], [41], [37] [] [], [], [], [], [], [], []]
    2011-11-27 20:19:33.113
    PMON (ospid: 8143): put an end to litigation because of the error 472

    Please suggest me

    Thank you
    Flo

    Hi Helios,

    We have identified that the error was to cancel the corruption and we followed the steps below for more come above mentioned error.

    Steps, as follows,

    Step 1:
    SQL > SELECT name, value OF v$ parameter WHERE name IN ('undo_management', "undo_tablespace");

    VALUE NAME
    -------------------- --------------------
    UNDO_MANAGEMENT MANUAL
    undo_tablespace UNDO_TBS

    Step 2:
    SQL > select FILE_NAME, TABLESPACE_NAME dba_data_files where nom_tablespace like '% UNDO;

    FILE_NAME, TABLESPACE_NAME
    ----------------------------------------------------------------
    /EBiz/Oracle/DB/apps_st/data/undotbs_02.dbf UNDO_TBS
    /EBiz/Oracle/DB/apps_st/data/undotbs_01.dbf UNDO_TBS

    Step 3: Create a new undo tablespace
    SQL > create UNDO tablespace UNDOTBS datafile ' / ebiz/oracle/db/apps_st/data/undotbs01.dbf' size 1024 m REUSE AUTOEXTEND ON NEXT 4096 K MAXSIZE 1024 M;
    Created tablespace.

    Step 4:
    SQL > ALTER SYSTEM SET undo_tablespace = 'UNDOTBS' scope = spfile;
    Modified system.

    Step 5: set old undo tablespace Offin mode and drop
    SQL > ALTER TABLESPACE UNDO_TBS offline;
    Tablespace altered.

    SQL > drop tablespace UNDO_TBS including content and data files;
    Tablespace has fallen.

    Step 6:
    Rebounced db services

    Step 7: Changed the management of undo for AUTO setting
    SQL > alter system set undo_management = 'AUTO' scope = spfile;
    Modified system.

    SQL > SELECT name, value OF v$ parameter WHERE name IN ('undo_management', "undo_tablespace");

    VALUE NAME
    -------------------- --------------------
    UNDO_MANAGEMENT AUTO
    undo_tablespace UNDOTBS

    Now, the database is running without problem and we don't find any ora errors in the alert log file

    Thank you
    Flo

  • When he puts an end to Firefox 3.6.6 firefox.exe continues to turn, visible in the Manager of tasks (XP) and stimulates the activity of the CPU up to 60% with the danger of overheating. Have not found an appropriate response with the search term "abnormal

    When he puts an end to Firefox 3.6.6 firefox.exe continues to turn, visible in the Manager of tasks (XP) and stimulates the activity of the CPU up to 60% with the danger of overheating. Have not found an appropriate response with the search term "abnormal termination of the program."

    This has happened

    A few times a week

    is after update of Firefox 3.6.4

    I have the same problem with Firefox 3.6.6 except that it also consumes massive amounts of CPU during the race. This version also adds a new process on your system. I am running XP and in the beginning I tried to disable some plug-ins. Always consumed too much memory. I went back to version 3.6 and the new process went, and the CPU consumption is way down. Something is wrong with the latest version of Firefox, I never saw behave this way. Revert to a previous version (Filehippo) and you will see the difference.

  • Background process in APEX

    Hi all

    I have the code below in the after presenting processes in one of the page/screen APEX and try to run the under process in the background, after submitting the process it is up to the page immediately (this is what I wanted) and launch the program code to run the program in the back on the ground, but looks like its not to make the background process. (not able to see all the records filled in the custom table, I use). Please let know us if I'm missing something or changes are required on the program below code.
    Here's the code that I currently use. When I try to run the process without any background documentation, it takes about 20 to 30 minutes and give the expected results and the workd very well. Please give your expertise on this matter, when the weather...

    Thank you
    Sheik


    DECLARE
    long l_sql;
    number of l_job;
    l_return Varchar2 (32767);
    l_messages dbms_output.chararr;
    l_numlines integer: = 1000000.

    Begin


    l_sql: = ' START
    MEDDEV. DSD_MED_FIN_MAC_EXTRACT. HAND)
    P_PERIOD_ID = >: P778_PERIOD_ID,.
    P_OVERRIDE = >: P778_OVERRIDE,.
    (P_RESULT = >: P778_RESULT);
    END;';

    dbms_scheduler.create_job
    (job_name = > 'APEXEDIT',)
    job_type = > 'PLSQL_BLOCK ',.
    job_action = > l_sql,
    enabled = > true);

    l_job: = APEX_PLSQL_JOB. () SUBMIT_PROCESS
    p_sql = > l_sql,
    p_status = > 'background subject process. "
    );
    END;

    How can I show the user that the work has been presented in the background

    Use the success of process Message in the Messages section of the APEX process that supports employment.

    and to show a few screen/message when the work is completed.

    Based on the method you used: is it apex_plsql_jobs or dbms_scheduler? (In both cases that the job runs asynchronously, then any notification about its status should be too. You may have the work itself by e-mail of the user).

  • Creating a background process

    We are developing an APEX application and the user asked a query be implemented as tickler report to be sent by e-mail (MS Back Office Server) to a list of users. I need guidance on two releated issues:

    (1) how to define and configure a background process in APEX? In other words, are there development tools for the planning of concurrent processes in the APEX?
    (2) how to invoke messaging by their SUMMIT in this process?

    Thank you, Ned

    Hi Ned,.

    Test if you can run tasks in the background in your Apex environment already:

    BEGIN
    IF APEX_PLSQL_JOB.JOBS_ARE_ENABLED THEN
    HTP. P ("ok background tasks!");
    END IF;
    END;

    Then read more below for package apex_plsql_job:
    http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/apex_plsql_job.htm

    Kind regards
    Ricardo Stumpf
    Brazil - Brasilia

  • Possible to restart some background process?

    I recently had a newbie-accident: typed "stop immediately" on production instead of test db db. After a few seconds, I realized my mistake and abandoned shutdown.
    Alertlog file is:
    Stop background QMNC process
    Stop background CJQ0 process
    Stop background MMNL process
    MMON background process stop

    Database runs normally for a few days, except that none of the planned work has begun.

    Is it possible to restart the background process without restarting the database?

    No, closing databases until the end and start it.

  • How to put an end to my monthly storage iCloud - iPad

    I want to put an end to my monthly storage iCloud on my iPad.  How do I do this without losing the photos, applications etc. that are already on the cloud?

    Rosalind

    Mmake that all your files are copied or synced to your computer. Then only unsubscribe icloud.

  • Cannot put an end to calls on Skype for WP 8.1

    Hi all

    I can't put an end to calls to fixed/mobile phones on Skype for WP 8.1.

    I have the touch screen and it just goes black (as it is in standby mode) while my finger is on it. Screen appears again when I remove my finger. Appeal does not end. The only way is the other person to end the call or me to turn off my phone.

    All solutions? Looks like a pretty major bug.

    Thank you

    Hey,.

    and thank you for your additional info/effort.

    After some research, we have learned that it is a problem experienced with the Lumia 630/635 and she's been fixed to WP8.1 update 1. Wp8.1 update 1 deployment was launched and it will come to the Lumia 630/635 so.

    You can check if it is available by going to settings-> check updates to phone for updates.

    BR

    Jake Kunnari

  • Press any key to put an end to an exe BACKS run in system.exe VI

    Hi I am running some old programs exe based BACK.  Two programs that run one after the other, loop and redo (variables are modified for each loop) the first exe program requires the user to "press any key" to put an end (close window CMD.  When I start my VI using the sub - VI system.exe to run DOS programs I have to "Press any key" to close the window and leave my VI to continue a loop.  Or if I use the option 'Until the end', I find myself with a bunch of Windows CMD to close at the end.  There must be a simple way to "simulate a key shot" Plan B is to train a monkey to sit in front of the key board...

    I using Labview 2013 under windows XP / 7

    Thank you

    Check out this post.  If this does not work for you, you can try to use SendKey in a Powershell script.  Good luck.

    Full disclosure, I did none of these, can't vouch for their usefulness.

  • problem updating SP3 after a reboot at the end of the update process, IE8 will not start

    I have no problem updated from sp2 to sp3. However after a reboot at the end of the update process, IE8 will not hold. When I click on ie, computer absolutely crashes. Help, please

    Restart your computer and if restart is ok are not trying to run IE8. Go to add and remove and remove IE8 and your computer will be re-established on IE7.  If all is ok so far restart your computer once more and if everything is ok at this point you can download IE8 again.

  • I often get frequent blue screens on internet sites. Blue screen too fast for me to record specific error message. How can I put an end to the blue screen to get the error message?

    frequent blue screens often to internet sites.  Blue screen too fast for me to record specific error message.  How can I put an end to the blue screen to get the error message?

    en blue screen too fast for me to record specific error message.  How can I put an end to the blue screen to get the error message?

    If your computer is restarted when the BSOD appears, then you must change the by default for what to do in case of system error. It is easy to do, but takes a lot of mouse clicks to get there:

    Start | Control Panel | System | Advanced system settings (need for credentials for the administrator to spend here |) Advanced | Startup and recovery / settings.

    On this screen, uncheck the box under system failure that says automatically restart. The next time the BSOD appears, your computer will not do anything else until you press the reset button, so you'll have all the time you need to read and copy the error codes. Paste here, verbatim, and someone should be able to point in the right direction.

    ``````~~~~`````

    In the control panel choose reports on problems and Solutions (problem of type in the START search box), go to historical problem, right-click your error and choose check for the Solution. You can also examine the details.

    In administrative tools, choose the reliability and performance monitor and click on MonitoringTools then the reliability monitor (type reliability in research on Start). This list is a chart of the software installs, uninstalls, updated Windows and crashes by date. See if your plant has started to happen after you installed or uninstalled something.

    It may be useful to eliminate equipment defects

    Type of memory in the search box of start and choose Memory diagnosis

    In a command prompt (type command in the start search box then right click and choose Run as administrator) type

    CHKDSK c: /r

    If you have more than one drive replace C: with the other drive letters.

    Search for corrupted files by typing at the command prompt

    sfc/scannow

    You can clean boot troubleshooting http://support.microsoft.com/kb/331796

Maybe you are looking for