Scripts for Process Scheduler

Hi,
Does any one have the scripts for sending a Message if the Process Scheduler doesn't start up on Windows?
I wrote a script on UNIX server which sends an email if there's any error or if the Process Schedulers go down. CRON job runs the script to check the status of the Process Scheduler.
I usually look at the Task Manager whether the services are running or not on Windows. I never wrote a script to look at the Process Scheduler Services on Windows.
I am looking for script which sends an email when ever Process Schedulers running on Windows GO DOWN or SHUTS DOWN or Don't start up Properly.
Any help would be appreciated.
Thanks,
Chris
Edited by: user7384419 on Apr 15, 2009 8:17 AM
Is there any 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.

Similar Messages

  • Test Scripts for Process Chains

    Hi Gurus,
    Can anybody send me the sample test scripts or the available links for process chains
    to my mail Id. [email protected]
    I will assign full points.
    Thanks in adance.
    Maruthi.

    Hi Maruthi,
    Please go through the belwo links and let me know if you need any specific information. Also you can find lot of threads in SDN
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0f4e952-e46e-2910-1f9e-cae187cd16d1
    Assign points if its helpful.
    Regards,
    Jagadeesh.

  • Need help in creating script for "Task Schedule" in Oracle E-Bussiness Suit

    Hi,
    I need some urgent help regarding the scripting of Oracle E-Business Suite application. I am new towards working on Oracle Applications. I have been using LoadRunner 11.0 and protocol oracle applications 11i for the scripting of the application. The problem is as follows:
    Scenario- Schedule an incident to a resource.
    1) Log in to the application.
    2) Open Oracle Forms Page.
    3) Enter the details of the incident number.
    4) Right click on the incident number and then select “schedule” option.
    5) Check / Select the resource listed in the new form.
    6) Click on “schedule” Button.
    7) Exit the oracle forms.
    8) Logout from the application.
    I have recorded the scenario but when I try to run the script, it fails after completing the 4th step from the scenario mentioned above. I have done all the required co-relations..
    Another issue that I have noticed in the scipt is that it records a lot of requests to the AppsTCFServer.
    When I check the Tree View of the script, I have found that there are around 25 requests to the AppsTCFServer recorded in the script. In the header of these requests a TCF Start/Session number gets generated randomly. This number stays the same in few AppsTCFServer request headers and then a new number gets generated and the cycle continues.
    However LoadRunner does not generate this number by itself during replay. I cannot find this number in any previous responses.
    In the last few days, I have tried my hands on Oracle Openscript tool to record the above scenario, but still I am getting the same problem, i.e instead of getting the correct response from the server for the AppsTCFServer requests, I am getting the message "X-session 7098.... not found - aborting ".
    I get this message whether I use LoadRunner tool or the OpenScript tool.
    Please help me solve this issue.
    Thanks & Regards,
    Soumya Mukherjee

    This isn't much of a "code-sharing" site but a "knowledge-sharing" site.  Code posted me may be from a questioner who has a problem / issue / error with his code.   But we don't generally see people writing entire scripts as responses to such questions as yours.  There may be other sites where you can get coding done "for free".
    What you could do is to write some of the code and test it and, if and when it fails / errors, post it for members to make suggestions.
    But the expectation here is for you to write your own code.
    Hemant K Chitale

  • Shell scripts for process flows

    Hello,
    We have lot of process flows in Oracle Warehouse Builder. To execute all these process flows some body wrote shell scripts. But they hardcode. My job is I have to change hardcoded values to assign dynamically. How can we do that? My situation is file is moving from one directory to another directory. From directory is fixed. To directory is going to change. This aslo they hardcoded. This I have to assign dynamically. How can I? Please somebody can help in this situation.
    Thanks
    Sri

    You can pass parameters to the shell script and then use them inside. Like $1 $2 and so on.
    Sidhu
    http://amardeepsidhu.blogspot.com

  • App server , process scheduler , web server and DB scripts

    Team,
    Good Morning.
    I am looking for the script which will help me in doing health check-up for app server , process scheduler , web server and DB.
    The script should trigger a email when any one of the domain is down and when it get up.
    Waiting heartly

    If you really only want scripts you should write them yourself. If you don't understand the script how can you be expected to support it, modify it, or add new features? You don't even indicate what OS your using? I could give you a copy of a powershell script but what good is that on a linux box?
    You need to identify what you really are interested in monitoring. Is it process health only? actual system integrity? Do you need to know if a process count goes under a certain threshold? Is the processes scheduler really working? Is queuing occurring somewhere? Is the web server at a critical number of open sessions? log monitoring for keywords? Do you need to actually simulate a web session which would prove the full system is working in one execution, although it won't indicate a failure will occur where some other monitoring might?
    This is why the others have recommended pre-built packages that already offer most of this. If you still want scripts, gather your requirements, think about what you really need, try some stuff on your own, and if you have a specific problem with a script or how to accomplish a particular system check, post a new question, and I'll do my best to help. I think you'll get a better response from everyone if you do that.

  • Seperate NT service for App server and Process Scheduler

    Is it possible to create a separate NT service for App server and Process Schedule for the same environment? Everytime i need to shutdown either App Domain or Prcs Domain (not both) using service, it brings down both.
    I could use psadmin but services run as a different user.
    Please advise.

    What PeopleTools release are you using?  Off the top of my head, one strategy would be to use different PS_CFG_HOMEs for the App and the Process scheduler.  The service points to the PS_CFG_HOME and reads the pswinsrv.cfg file to know what to start/stop.  I'm not sure there is a way to override psntsrv and tell it to use a different config file, so you may need a different HOME.  You could also create a script that wraps the service start/stop.  It could edit/update the config file prior to stop/start and remove Process Scheduler from the config and then reinsert it later.
    You could have a stop_app/start_app and stop_prcs/start_prcs script that would copy in specific versions of the pswinsrv.cfg file for what you want to do.

  • Proxy messgs on ECC in scheduled status - released for processing (PI 7.1)

    Hi guys,
    I have set up a scenario (ABAP Proxy(ECC)->(using WS adapter)PI7.1->SOAP) and the outbound messages on the ECC remain in the scheduled status (green flag) saying "Released for processing (WS)". Why? Must there be some processing be executed? Manual? Or job?
    Any help on this appreciated, Olian

    Hi Olian
    Try applying the solution in the SAP note #1129614 SP2: WSRM sequences process only the first 3 messages.
    Regards
    Mark

  • Scheduled finish date for process orders not updating in BW

    We are having problems with the scheduled finish date (GLTRS) for process orders. When the process order is already released, changes done in R/3 on the scheduled finish date will not result to a delta hence data in BW is not updated. Table AFKO, where data is coming from, is always updated with the changes though. 2LIS_04_P_MATNR is used in extracting the data.
    Has anyone experienced the same problem? We are looking for possible ways on how to have a delta whenever there are changes on the process order even after it is already released.
    Any help would be greatly appreciated...

    Hi Donna,
    If I've understood your problem correctly, you can increase the load frequency as Sriee has pointed out.
    If you want latest data frequently and if you are on BI 7.0 then you can look at Real Time Data Acquisition(RDA)
    Regards,
    Tom.

  • How to find the existing sql server backup plan/schedule is there a script for that?

    Friends,
    Is there a easy way to find out in SQLServer (for All DB's) what is the current backup plan/schedule ? is there a script for that?
    Thanks,
    Karthikeyan Jothi

    To check the database backup 
    Select
    SERVERPROPERTY('ServerName'),
    db.name,
    CONVERT(VARCHAR(10), b.backup_start_date, 103) + + convert(VARCHAR(8), b.backup_start_date, 14) backup_start_date,
    CONVERT(VARCHAR(10), b.backup_finish_date, 103) + + convert(VARCHAR(8), b.backup_finish_date, 14) backup_finish_date,
    case
    when (DATEDIFF(hour, b.backup_start_date, getdate())<24)then 'Success'
    when (DATEDIFF(hour, b.backup_start_date, getdate())>=24)then 'Failed'
    end Status,
    DATEDIFF(hh, b.backup_finish_date, GETDATE())BackupAgeInHours,
    (b.backup_size/1024/1024/1024 )BackupSize,
    case b.[type]
    WHEN 'D' THEN 'Full'
    WHEN 'I' THEN 'Differential'
    WHEN 'L' THEN 'Transaction Log'
    END Type,
    ISNULL(STR(ABS(DATEDIFF(day, GetDate(),(Backup_finish_date)))), 'NEVER')DaysSinceLastBackup
    FROM sys.sysdatabases db
    Left OUTER JOIN (SELECT * , ROW_NUMBER() OVER(PARTITION BY database_name ORDER BY backup_finish_date DESC) AS RNUM
    FROM msdb.dbo.backupset) b ON b.database_name = db.name AND RNUM = 1
    where dbid<>2
    OR
    SELECT
    DISTINCT
    a.Name AS DatabaseName ,
    CONVERT(SYSNAME, DATABASEPROPERTYEX(a.name, 'Recovery')) RecoveryModel ,
    COALESCE(( SELECT CONVERT(VARCHAR(12), MAX(backup_finish_date), 101)
    FROM msdb.dbo.backupset
    WHERE database_name = a.name
    AND type = 'd'
    AND is_copy_only = '0'
    ), 'No Full') AS 'Full' ,
    COALESCE(( SELECT CONVERT(VARCHAR(12), MAX(backup_finish_date), 101)
    FROM msdb.dbo.backupset
    WHERE database_name = a.name
    AND type = 'i'
    AND is_copy_only = '0'
    ), 'No Diff') AS 'Diff' ,
    COALESCE(( SELECT CONVERT(VARCHAR(20), MAX(backup_finish_date), 120)
    FROM msdb.dbo.backupset
    WHERE database_name = a.name
    AND type = 'l'
    ), 'No Log') AS 'LastLog' ,
    COALESCE(( SELECT CONVERT(VARCHAR(20), backup_finish_date, 120)
    FROM ( SELECT ROW_NUMBER() OVER ( ORDER BY backup_finish_date DESC ) AS 'rownum' ,
    backup_finish_date
    FROM msdb.dbo.backupset
    WHERE database_name = a.name
    AND type = 'l'
    ) withrownum
    WHERE rownum = 2
    ), 'No Log') AS 'LastLog2'
    FROM sys.databases a
    LEFT OUTER JOIN msdb.dbo.backupset b ON b.database_name = a.name
    WHERE a.name <> 'tempdb'
    AND a.state_desc = 'online'
    GROUP BY a.Name ,
    a.compatibility_level
    ORDER BY a.name
    To check the schedule you can try the below script
    https://gallery.technet.microsoft.com/SQL-Jobs-Complete-eabe0050
    --Prashanth

  • Cancel the scheduled jobs for process chains - urgent

    Hi,
    How do I cancel the scheduled jobs for process chains which are going to run tonight.
    thanks,
    Radha

    Hello,
    Go into transaction code RSPC and then select the particular process chain by going into the edit mode and in the menu...
    Look for Execution --> Remove from Schedule.
    Let me know if that answered your question.
    Thanks
    Dharma.

  • Need a table for process chains of when these are scheduled!!

    Hi,
    I had like to have list of all the process chains and their schedules of how often these are loaded and whether been triggered by event or directly scheduled. If periodically scheduled then the period----
    is there any table which can have the information as i said??
    Raj

    Hi....
    process chain tables
    RSPC_BUFFER Shared Buffer for Processes (Esp. Customer
    RSPC_MONITOR Monitor individual process chains
    RSPCABAPASYNC Logging for ABAP Processes(Synchronously a
    RSPCCATEGORY Process Type Categories
    RSPCCATEGORYT Texts for Category
    RSPCCHAIN Process chain
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process Chains
    RSPCCHAINT Texts for Chain
    RSPCCOMMANDLOG System Command Execution Logs (Process Cha
    RSPCENQUEUE Dummy Table for Runtime Locks of a Process
    RSPCEXOR Excluding Or: Log Table
    RSPCINFO Special Values for Communication between P
    RSPCINFOT Special Values for Communication between P
    RSPCINSTANCE Generic Instance Storage
    RSPCINSTANCET Texts for Generic Instance-Storage
    RSPCLOGCHAIN Cross-Table Log ID / Chain ID
    RSPCLOGCROSS Cross-Table Log ID Old / Log ID New
    RSPCLOGS Application Logs for the Process Chains (G
    RSPCPROCESSLOG Logs for the Chain Runs
    RSPCRUNVARIABLES Variables for Process Chains for Runtime
    RSPCTRIGGER Variants for the Trigger Processes
    RSPCTRIGGERT Texts for the Trigger Variants
    RSPCTYPESDEP Dependencies for Processes
    RSPCTYPESPROC Attributes of BW processes (RSSM)
    RSPCVARIANT Generic Variant-Storage
    RSPCVARIANTATTR Attributes of a Process Variant
    RSPCVARIANTT Texts for Generic Variant Storage
    Among all these tables I think.......
    RSPCCHAINATTR Attributes for a Process Chain
    RSPCCHAINEVENTS Multiple Events with Process
    Chains
    RSPCPROCESSLOG Logs for the Chain Runs .........can help you.......
    Regards,
    Debjani........
    Edited by: Debjani  Mukherjee on Oct 21, 2008 1:32 PM

  • Installing NT service for app and process scheduler (Windows 2003)

    I have followed the install guide instructions for creating an NT service for the process scheduler, however, whenever I attempt to start the service I receive the following warning message:
    The PeopleSoft H:\apps\psoft\PT849 service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service.
    The service does not start properly, however when launching the services via psadmin, both the app and process scheduler processes start properly.
    Any assistance would be appreciated.

    I have followed the install guide instructions for creating an NT service for the process scheduleWhat are the doc you've followed ?
    It is well explained here below :
    http://download.oracle.com/docs/cd/E05406_01/psft/acrobat/hwtools849_itora.pdf
    Task 10A-5: Starting Process Scheduler as a Windows Service
    Furthermore, describe what steps have been done.
    Nicolas.

  • Scripts for killing blocking oracle processes?

    We are having a problem in that when a user disconnects improperly, the oracle processes on our Oracle Apps box don't die properly and rows remain locked. For other terminal based versions, the script to kill the process is pretty simple, but for the web-based, java interface, it's unclear how I would go about doing this. Does anyone have scripts for doing this that could run via cron? The applications are running on solaris 2.6.
    Thanks,
    Nathan Olla
    Unix Sys Admin

    Take a look at note 130709.1 on Metalink. It contains configuration info for httpds.conf - your Apache configuration file. You can use this to time-out sessions properly. Hope this helps.

  • FTP_TO_FTP  "Meaasge scheduled for processeing"

    Hi,
       I am doing a file to file scenario,
    1. File is getting deleted.
    2.SXMB_MONI shows "Message Scheduled for Processing"
    3. Receiver Communication channel shows "No message  processing until now"
    4. I don’t see any errors in xi.log (log viewer)
    Any help would be greatly appreciated
    Regards
    Ganges Leaves

    Hi Ganges,
    If the message is stuck in the queue then you can
    1. Refresh the queue
    2. Select activate button and refresh
    3. Unlock the queue and activate and then refresh the queue
    Regards
    Vijaya

  • License Key for SAP Central Process Scheduling by Redwood

    Hi!
    I installed SAP Solution Manager 7.00 EHP1 and would like to use the function
    SAP Central Process Scheduling by Redwood.
    Can some one tell me how to get a license and to configure this function?
    Thank you very much!
    regards
    Thom

    Dear Thom,
    The procedure for procuring and installing the license is given in the Quick Install Guide for Redwood which you would have used to install the process scheduler.
    Kindly follow the process and procure the license.
    Regards
    Amit

Maybe you are looking for

  • Dreamweaver and WordPress

    I've been using Dreamweaver to edit some PHP files in my WordPress themes. Is there anything I need to worry about when doing that? Is the code going to be clean all the time so that there are no errors when I put the new theme in my website (http://

  • SPEL not giving desired result

    Hi ALL, SPEL *${oa.TestPVO1.xxDisable}* on Disable Property for a button In CO OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean); am.invokeMethod("hide"); In AM public void hide() OAViewObject disvo = (OAViewObje

  • ICF Connector issue

    I am trying to create new connector for testing OIM connector. I have developed a sample application and deployed on Connector Server. Please can you let me know where I am doing wrong. Am I passing the wrong key to the program. Steps followed to sta

  • Bridge won't show folders.

    I have CS5.  I can't get Bridge to show new folders, it hasn't shown a new folder this past year.  Any suggestions?

  • Upgrading from CSM 3.0.1 to 3.1

    Hi, I?m willing to upgrade the CSM version 3.0.1 to the latest v 3.1, while I?m browsing Cisco site to find out the steps for upgrading I found a terrible document regarding the same. Below is the link: http://www.cisco.com/en/US/partner/products/ps6