Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 7 of 7

Thread: Automatically stopping a process

  1. #1
    Member
    Join Date
    Dec 2001
    Location
    United Kingdom
    Posts
    46

    Default Automatically stopping a process

    SC3 WindowsNT
    Does anyone know how to stop a ServiceCenter process at a predetermined time each day?
    I want to stop the inactive process at 18:00 each day. It will then be restarted OK as SC is stopped and started each day at 06:00.

  2. #2
    Member
    Join Date
    May 2002
    Location
    Denmark
    Posts
    89

    Default

    You can stop a process by adding a Schedule record with application=scheduler.stop.

    You can test it by going to event service/agent status and press stop Event, then fast go to the schedule file, where a schedule record has been created vith class event.

    Change 1 in strings1 to inactive, and class to report or another process that is always running.

    You can both start and stop processes with schedule records.

    Finn

  3. #3
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    Quote Originally Posted by fjespersen
    You can stop a process by adding a Schedule record with application=scheduler.stop.

    Finn
    Nice
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  4. #4
    Member
    Join Date
    Dec 2001
    Location
    United Kingdom
    Posts
    46

    Default Automatically Stopping A Process

    Thank you.
    This works fine for stopping the process.
    How do I make sure that this is run at the same time each day, even if ServiceCenter is restarted?

  5. #5
    Member
    Join Date
    May 2002
    Location
    Denmark
    Posts
    89

    Default

    As you normally would do with a schedule record (I expect)

    In Scheduled class put the same name as in class

    In Repeat: 1 00:00:00

    I have not tested it, but it "should" work, but again, it is ServicecEnter

    Finn

  6. #6
    Member
    Join Date
    Dec 2001
    Location
    United Kingdom
    Posts
    46

    Default

    Thanks, that's what I figured, so I tried it, but each time it runs, the schedule record is deleted.
    Any ideas?

  7. #7
    Member
    Join Date
    May 2002
    Location
    Denmark
    Posts
    89

    Default

    Sorry for the delay.

    I have looked at the RAD code, and you are right - as I see it it is impossible to reuse the same schedule record to stop the process on a scheduled basis.

    I think that Jeppe has a solution - He has made a combination of a report, a schedule record and a script, that maynbe you can use.

    I will notify him.

    Finn

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts