Scheduling Agent - Can it run multiple instances in XP?

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
jcheng
Posts: 3
Joined: Mon Jul 11, 2011 2:06 am

Scheduling Agent - Can it run multiple instances in XP?

Post by jcheng »

Hi,
I hope to ask about the Scheduling Agent for Delphi, when used on XP (i.e Task Scheduler 1.0).
For example, I set a daily schedule to open notepad.exe, and keep the
notepad open. What do I need to set to the TTrigger so that, on each day
afterwards, a new notepad.exe will be opened?
I suppose this is related:
http://msdn.microsoft.com/en-us/library ... s.85).aspx
what I want is the effect of "Parallel".
But I can't seem to find anything similar in TTrigger.

In fact I sent you guys an email, but got no response about how to goes multiple instances if under Task Scheduler 1.0

Thanks in advance.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hello,

I can't see why you're not able to run multiple instances of notepad on XP. We've tested this and it just runs as many instances as we run it.
Best regards,
Igor Siticov.
jcheng
Posts: 3
Joined: Mon Jul 11, 2011 2:06 am

Post by jcheng »

Hi,
When I test it, a new notepad.exe won't open unless I close the previous one.
I am talking about multiple run from the same job.


Let's say, on July 10 8am, I set a schedule of daily 9am to run notepad.exe.
By July 12 10am, I expect to see 3 notepad.exe, but actually there is only 1 notepad.exe open.
If I close that opened notepad.exe at 8:55am and wait, then a new one will open at around 9am.

So my impression is that as long as the process started by the scheduler is still running, it can't run a new instance.


If you can get it to run mutiple instances, then can you send me a sample source code?
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Will prepare a sample code and send it to you by email.
Best regards,
Igor Siticov.
Post Reply