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.
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.
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
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?
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
Thanks, that's what I figured, so I tried it, but each time it runs, the schedule record is deleted.
Any ideas?
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks