Scripts for process Planner

Hello

Does anyone have scripts for sending a Message If the process scheduler does not start under Windows?
I wrote a script on the UNIX server that sends an e-mail if there is an error or if the programmers of process down. Cron job runs the script to check the status of the process scheduler.

I used to look in Task Manager whether or not services are running on Windows. I never wrote a script to watch the Process Scheduler Services on Windows.

I'm looking for a script that sends an email when ever process developers running on Windows GO DOWN or SHUTS DOWN or do not start correctly.

Any help would be appreciated.

Thank you
Chris

Published by: user7384419 on April 15, 2009 08:17

Y at - it an equivalent for ' PS - ef | grep"on windows 2000

http://TechNet.Microsoft.com/en-us/Sysinternals/bb896682.aspx
and/or
http://www.jigsawboys.com/2007/02/21/script-to-check-if-a-Windows-service-is-running-and-email-a-user-if-it-is-not/

Nicolas.

Tags: Oracle Applications

Similar Questions

  • Script queue CM with output for allocated, running and waiting for process

    Hi all

    Could someone please share the script which gives the result as below:

    Script Manager simultaneous tail with output for allocated, running and waiting for processes within a single script.

    Thanks for your time!

    Kind regards

    You can find a lot of scripts in the old nets.

    Simultaneous treatment - what are the meanings of the Codes in the STATUS_CODE and the PHASE_CODE FND_CONCURRENT_REQUESTS Table columns? [152209.1 ID]
    ANALYZEPENDING. SQL - analyze all applications pending [134033.1 ID]

    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+query&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+time&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+STATUS_CODE&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001
    https://forums.Oracle.com/forums/search.jspa?threadID=&q=FND_CONCURRENT_REQUESTS+and+PHASE_CODE&objid=C3&DateRange=all&userid=&NumResults=15&rankBy=10001

    Thank you
    Hussein

  • Script for the mandatory boxes

    Recently I've been editing a PDF file with checkboxes for the steps in a process. Basically, these just will be used when going through the process to check off each step individual as long as the user goes along. There was a high requirement to prevent the checkboxes of the audit until the previous one has been checked. So box 2 cannot be controlled until the box 1 have been verified, and 3 cannot be controlled until 2 is checked etc.

    Does anyone could offer some advice on a script for this? My knowledge of scripting languages is quite limited, so any help would be greatly appreciated! Thank you.

    Thanks for all the help.

    I finally managed to find a piece of code that shows the next box hidden but also hide the check box, so that from before is not checked. Here's the code I used just in case anyone is interested.

    var nHide = event.target.isBoxChecked (0)? display.visable:display.hidden;

    this.getField("Check_Box2").display = nHide;

    Once again thanks for the help.

    -James

  • Scripts for indesign

    Hi all.  I wonder if there is a script for indesign that allow me to put the file name / and identifiers of color at the bottom of the Document.  Also, who will all place me information where I want.  For ex...   I want to send a task to plates and rather than manually enter the name of the file - Date and time - and colors on the bottom of the plate/file.  I know that when I go to export a file or print a file it is check box to put the information on the file page and it does what I want however he put the information too low on the plate.  He added the information down into the corner of the plate area and receiving not Burnt or processed in this area.  I need a script to back up the information, if we read.

    Hi cbishop01,

    First of all, I would not recommend research by sending your files to Indesign as postscript, if your normal process is a PDF workflow. PostScript does not support some features on various output devices. When the postscript from Indesign, you can run into CMYK printing issues when dealing with PDF files and other works of art that contain some transparency effects and mixing modes that cannot be interpreted by the postscript or cannot flatten properly.

    My employer uses a script Indesign, we have developed which can be something similar to what you are looking to accomplish. If your plate is always the same size, you can create a model of tax file in Indesign with job info, color chart, date and time, and you want to integrate the model tax. You can use a script Indesign to automatically update the model every time that you print in PDF format (which can be done by adding a custom ease menu item).

    Plate files vary from a file in a file, you can convert the file name, time, blocks of color name text in an Indesign library item and drop it right in the position desired on each individual plate installation. You will not have to change these items, you will only place a group element where you want to go.

    Is this something that will work for you?

    (example of a model of plate file)

    (example of slug color library item)

  • advice of script for a beginner please

    I am a beginner, trying to enter VMware (winding maze lost in corridors...)

    With vSphere Client I can manually create virtual machines on our 5 ESXi host, producing an OVA of our product for distribution file.
    I am obliged to describe the process.

    Can I set up and configure virtual machines using only the ESXi console?

    VCLI (free download) allows Windows to create virtual machines on an ESXi host?

    Outline of what needs of script:

    • create a VM (this is the only bit that I was able to do it, using the console for ESXi)
    • install CentOS Linux using anaconda with kickstart script
    • Configure the virtual machine and the export

    Advice, tips or pointers to get this done will be very appreciated!

    Thank you very much

    Alan

    A few answers to your questions

    1. you will need to get an ISO of the CD of CentOS and store it somewhere on a data store.

    Once this is done, you can use the cmdlet Set-CDDrive with the IsoPath parameter.

    2. use the cmdlet New-VM , something like that.

    You get the default value of the bu NIC, just specify what portgroup to connect to

    $vm = New - VM - name MyVM - ID centosGuest - NumCpu 1 - MemoryMB (1 GB / 1 MB)-DiskMb (60 GB / 1 MB)-NetworkName MyPG

    3 see forces a VM to access BIOS screen on the next reboot

    4. use the Start-VM cmdlet

    Start-VM - $vm VM - confirm: $false

    5 once again with the cmdlet Set-CDDrive , but the use of the HostDevice parameter

    6 see specify bootable for a virtual machine devices

    7. do not apply. You change the boot order before starting the virtual machine

    8. who could perhaps be done with the Invoke-VMScript cmdlet and the bash ScriptType parameter. But I have not tested with CentOS.

    9. it's a little tricky. The external vSphere unclear when a program inside a guest what OS is finished. There are ways to send some kind of semaphores, see, for example, waiting for the customization of the OS to complete

    10. There are a lot of the cmdlet Set-availabe, i.e. Whole-VM, Set-NetworkAdapter...

    As a guideine, you should always try to translate your literally to scripts for automation of manual procedures. Sometimes, you should first rethink your account automation procedure.

  • Script for the conversion of the hyperlinks to the buttons?

    Hello!

    Does anyone know if West a script for the conversion of the hyperlinks to buttons with the action of going to the URL with the same URL, which has been used with hyperlink?

    Here it is:

    /* Copyright 2012, Kasyan Servetsky
    November 29, 2012
    Written by Kasyan Servetsky
    http://www.kasyan.ho.com.ua
    e-mail: [email protected] */
    //======================================================================================
    var scriptName = "Convert hyperlinks to buttons - 1.0";
    
    Main();
    
    //===================================== FUNCTIONS  ======================================
    function Main() {
        var hyperlink, source, sourceText, destination, page, arr, outlinedText, gb, button, behavior,
        barodeCount = 0,
        hypCount = 0;
        if (app.documents.length == 0) ErrorExit("Please open a document and try again.", true);
        var startTime = new Date();
    
        var doc = app.activeDocument;
        var layer = doc.layers.item("Buttons");
        var swatch = doc.swatches.item("RGB Yellow");
        var hyperlinks = doc.hyperlinks;
    
        var progressWin = new Window ("window", scriptName);
        progressBar = progressWin.add ("progressbar", undefined, 0, undefined);
        progressBar.preferredSize.width = 450;
        progressTxt = progressWin.add("statictext", undefined,  "Starting processing hyperlinks");
        progressTxt.preferredSize.width = 400;
        progressTxt.preferredSize.height = 30;
        progressTxt.alignment = "left";
        progressBar.maxvalue = hyperlinks.length;
        progressWin.show();
    
        for (var i = hyperlinks.length-1; i >= 0; i--) {
            hyperlink = hyperlinks[i];
            source = hyperlink.source;
            sourceText = source.sourceText;
            destination = hyperlink.destination;
            page = sourceText.parentTextFrames[0].parentPage;
    
            barodeCount++;
            progressBar.value = barodeCount;
            progressTxt.text = "Processing hyperlink " + hyperlink.name + " (Page - " + page.name + ")";
    
            arr = sourceText.createOutlines(false);
            outlinedText = arr[0];
            gb = outlinedText.geometricBounds;
            outlinedText.remove();
    
            button = page.buttons.add(layer, {geometricBounds: gb, name: hyperlink.name});
            button.fillColor = swatch;
            button.fillTint = 50;
            button.groups[0].transparencySettings.blendingSettings.blendMode = BlendMode.MULTIPLY;
            behavior = button.gotoURLBehaviors.add();
            behavior.url = destination.destinationURL;
    
            hyperlink.remove();
            source.remove();
    
            hypCount++;
        }
    
        var endTime = new Date();
        var duration = GetDuration(startTime, endTime);
        progressWin.close();
    
        alert("Finished. " + hypCount + " hyperlinks were convertted to buttons.\n(time elapsed: " + duration + ")", scriptName);
    
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------
    function GetDuration(startTime, endTime) {
        var str;
        var duration = (endTime - startTime)/1000;
        duration = Math.round(duration);
        if (duration >= 60) {
            var minutes = Math.floor(duration/60);
            var seconds = duration - (minutes * 60);
            str = minutes + ((minutes != 1) ? " minutes, " :  " minute, ") + seconds + ((seconds != 1) ? " seconds" : " second");
            if (minutes >= 60) {
                var hours = Math.floor(minutes/60);
                minutes = minutes - (hours * 60);
                str = hours + ((hours != 1) ? " hours, " : " hour, ") + minutes + ((minutes != 1) ? " minutes, " :  " minute, ") + seconds + ((seconds != 1) ? " seconds" : " second");
            }
        }
        else {
            str = duration + ((duration != 1) ? " seconds" : " second");
        }
    
        return str;
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------
    function ErrorExit(error, icon) {
        alert(error, scriptName, icon);
        exit();
    }
    
  • Standalone for Capacity Planner tools

    Hi all!

    We do a planner of capacity for all our servers. We recover almost all of the information that is sufficient for us except for servers that are in a demilitarized zone. I know, we can open the port, but after talking with network admin, it seems a bit difficult to process this request. It is the policy of this group. It is not important.

    I would like to know if they exist tools for manually on each server and read the data elsewhere. I saw the Tools folder and is good, but nothing to explain how to use it.

    Anyone got some information about this?

    Thanks in advance

    Eric

    I don't remember off the top of my head, but it is prescribed in the instructions for Caacity Planner - there is a way to install a collector machine in the demilitarized zone and configure it so that instead of pushing the date it jst is stored in a text file that you can download more later manually to the dashboard.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • Scripts for export / the work of the master Rep

    Hello

    I want to automate the export process and seeking their entire tour of the scripts for the export of the work/Master ODI Rep checked objects in the CLASS and we donot have CLASS names, exports of repository.

    Thanks in advance for any response... !

    Created for 10g [http://odiexperts.com/automize-the-backup-using-odi-exports]
    but should work too :) for 11g

  • ESX and VMware scripting Backend process...

    Hi all

    I look forward to hearing the internal processes that continue on the street within the ESX Server. For example:-that the ESX actually did when the user fires rescan command esxcfg-rescan & lt; vmhba. & gt;. Is there any script is triggered on commanded this shooting? and even on the backend to another ESX processes orders too. I want to update my self on these things. Hope someone here could give me a helping hand.

    Concerning

    MRM

    If you are interested about how ESX (i) and some of the inner workings, you should take a look at some of the documents/charts architecture, this is available on VMworld if you have an account, and the majority of it should be free of previous years, less the recent VMworld Europe / U.S..

    Here is another good site for a collection of documents to help: http://vsphere-land.com/top-10-list/top-10-list-index.html

    If you are only interested in some of the esxcfg-* commands, a good way to learn what it is doing and the parts of the system it touches is to download the vCLI/RCLI: http://engineering.ucsb.edu/~duonglt/vmware/#vmware_rcli

    These commands are similar to that of those on the classic ESX which are used to manage/configure remote both ESX(I) hosts and they use the VI API http://www.vmware.com/support/developer/vc-sdk/visdk25pubs/ReferenceGuide/index.html

    You can open each of these scripts and get a good understanding, most of the classic esxcfg-* commands are compiled binaries which makes internal calls to the system, but some are normal Perl/bash scripts such as esxcfg-rescan or vmware-cmd and you can open these and take a look at what he does.

    So it really depends on what you're trying to understand and explain how you want to enter.

    I hope that gives you an idea of where to go.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • Apply Find & Replace Script for. INDB?

    Hi Chaps,

    Is it possible to apply a script to search for and replace type to an InDesign book (CS4 > .indb)?

    I have a folder .indb that my have a number of documents, each with the word 'EURO' in a number of tables. I want to change that to "GBP" in all documents, but would like to automate the process, instead of manually apply the script to each document.

    Does anyone know of a script for this?

    Much thanks

    Samuel

    Well, it's also quite possible to have a script open all documents, make your operations on each and then close them. See, for example, http://forums.adobe.com/message/2072111#2072111

    Google around scripts more - I've written several that do similar things.

  • The script for any necessary Questions?

    I have a form with a table, and according to the answer selected in the left column, which is a menu drop-down fields in the testament becomes necessary.  Sounds confused when I read that, but what I mean is if someone selects YES in the drop down menu to rows1 and 2 and no. 3-6, then the rest of the fields in lines 1 and 2 become necessary and text must be added or drop-down menus should have a valid response that is selected is not the case in the rest of the table.

    The table looks like this:

    Order book?    Author title ISBN\Publisher Total requested readoptions?   Mandatory?

    (Combo O/N)  (Text)   (Text)  (2 text fields seven.)   (Text)     (Drop down list) (Drop down list)

    1.

    2.

    3.

    4.

    5.

    6.

    The answers become necessary in the sense that they must be filled in before the form can be sent and not in the sense that one can only be filled if the previous is answered.  It might be too much for people filling out the form to ensure that the previous field is entered before proceeding to the next.  The entire table is visible already, so I need the fields become visible when you select YES, even though I see the advantage in this too.  Can I have the scripts for the two formulas, as I can do the fields become visible when you select YES (this text cannot be entered if they choose No.) and had to complete before submitting?

    Oh, another thing I want to do is make 1 selection in a menu drop down not valid.  I have a list of *, YES and NO.  I want to do the * not recognized as a valid answer.  Thank you for your time and patience.  I know that this question probably belongs in the forum script, so I'll add it there too.

    If you ask about the function "setRequired", it is intended to be added to the document in function at the level of the document. To create one, select: Advanced > Document Processing > Document JavaScripts

    Add a new one, giving it the name of your choice, remove the skeleton of the service it provides by default and past the above function code. Then, you call the function as shown.

    If you ask what I was discussing the last paragraph, which would be a new script that checks the fields before sending is permitted to take place. I did not code for this. It would also be a script at the level of the document.

    In addition, you should consider what to do if the select user or not, the rest of the line is finished and then later has a change or heart and selects «*» It seems that it would be wise to clear the values in the other fields on the line, but the script currently does not. If you want to only it and get stuck, post again.

  • Can someone help me to write a script for Soundbooth

    If I have 50 files in C:\MyMusic and you want to

    Game Volume in Soundbooth CS5 how can I write a script for this?

    The only other way that I saw him do this with a library of that size is by Steve DeKorte SoundConverter. It would be tedious to do, but there is a feature to "normalize volume" on all files being converted. E than another inconvenience is that as long as you "convert" MP3 to MP3, you must save the files "converted" to a different directory. It won't crush during the standardization process.

    I had a library of more than 92 000 songs in 14 000 folders and subfolders 46 000 until last October. I had been there twice to "clean up and mormalize ' it more than six years." The transport entered on the drive that I was preparing to back up everything on DVD, and I have been unable to recover the data on the disks when it happened. I was duly upset when I lost all this music, but as I look back over the last eight months, I had a lot less worries ' tinkering ' with all these files all the time.

  • Mode script for ANY c ++ function

    Hi all

    My goal was to use the pxi 5406 to implement features of frequency sweep. Right now, we use only the functions on the list of the frequencies of creation. There are four modes of release for the frequency list, signle, continuous, step by step and burst. We use the bleachers through fashion. It is painful to use this mode, since for each frequency, you need to send a rising edge, so if I have several hundred, it means I have to produce this amount of rising edges. This will generate a lot of buffer in another analog card.

    My question is, could I use script for the frequency list view? Or is there a smart way to achieve this? From the file of signal aid, he said that there are some c programe on script mode. But I can't find any examples in my computer. If you have any other, could you send me?

    Thank you very much.
    .

    Yami.

    Yami,

    The 5406 has the ability to run script mode. Only for her output modes are Standard function and frequency list. However, I believe that you can do what you want to do with the list mode frequencies. Assuming that you do not want to trigger you can put the camera in single or continuous Mode. Single will play your select frequency scan and then once completed, build:

    Continuous is similar, but you continue to repeat the signals to stop:

    All the above details are in aid of signal generators of NOR. I looked under the heading devices > 5406 > trigger > triggering Modes.

    With simple or continuous, you can specify the length of the waveform step, which could be a good starting point. With regard to the examples for c ++, I do not have, but if you look in the Start Menu, NOR-FGEN, National Instruments, examples, OR-FGEN C examples you can find a folder for "Sweep generator", there is a model and an example C you can look over your program after. I hope this helps!

  • Where can I find a linke for the the help file for process Explorer 14.01?

    Where can I find a linke for the the help file for process Explorer 14.01?  Thank you.

    If you have problems to access using Process Explorer, it's probably because you do not it unlock after the download.

    The best way to do this is to go to the folder where the zip file downloaded, right click the zip file and select Properties. Then click on the button unlock and apply them. Go to the excerpt from Process Explorer.

    For more details, see http://www.msteched.com/2010/NorthAmerica/WCL314

  • Scripts for data cleansing Perf

    Hello

    We currently use BB 4.4 with the new features enabled PERF. Someone at - it scripts for cleaning or truncate the Perf Data collected? 4.5 is supposed to have the function programmed in. We run the BB server on unix.

    Perf Data under the $BBHOME / bbvar / perf

    The files are in plain text with lines like this:

    Here is a not so elegant way to truncate your files in perl. You will need to set the time as a unix timestamp.

    #Purge $BBPERF
    @files = "grep - Rl. $BBPERF / *';"

    $file (@files) {} foreach
    chomp ($file);
    Print "$file\n";
    @data ='cat $file | AWK ' {if (\$4 > = $startTime) {print \$0}} ";
    If (!) () open (FILE, "> $file"))) {print "cannot open $file: $!"} \n » ; print LOGFILE "cannot open $file: $! \n » ; next ;}
    foreach $line (@data) {print FILE $line ;}
    Close the FILE;
    }

Maybe you are looking for

  • iPhone 6 s is no longer syncing with iTunes

    Hello My 6 s iPhone is no longer recognized by iTunes (and so no synchronization or backup). I use the latest versions of iOs and iTunes on Windows 10. This problem started occurring after that I installed the VPN software on my PC, I deleted since.

  • Downloads of movies Apple TV running in the background?

    I'm currently downloading a movie but don't want to watch it immediately. No downloads works in the background, or do I sit on the download screen until it has finished downloading?

  • Satellite M45-S2692: need driver for ethernet controller

    Need me the drivers for the ethernet controller.I don't have the drive of the laptop. My little girl has seen fit to shread in the shreader Oops. I bought the laptop in the USA last year, if that helps. All other drivers, but not this one.I downloade

  • Scanning from HPC5150 for HP G60, "no scan option" HPSDU "No. Scanners installed" Win 7

    Scanning from HP Photosmart C5150 all-in-One When you use the Scan Menu button, choose "Scan to Computer": Message 'no. Scan Options '. When parsing Windows Fax and Scan, 'no Scanners were detected. After running HPSDU, 'no Scanners not installed. "

  • Screen saver starts sometimes incompatible

    original title: incompatible screensavers Hello - there seems to be a lot of people who talk about a situation of screensaver. If you set the screen saver to go [for example on the 60 seconds] often lights up once the way you set - but other opportun