Skip to main content
Inspiring
October 14, 2009
Question

List currently executing pages or scheduled tasks

  • October 14, 2009
  • 1 reply
  • 640 views

I wondered if there was a way of executing a scheduled tasks, lets say every five minutes. But it needs to check that its not already running. i.e. that the previous execution has not taken longer than 5 mins.

I know that you can do lots of clever things with gateways but they don't do things serially and the order of execution is absolutely vital in this case.

This might be a way round an issue I hit in a previous post. http://forums.adobe.com/thread/505742?tstart=0

I figured I could process them in blocks of 500 every 5 mins. And just exit out if the previous block hadn't finished yet.

Any pointers as to where I might look?

many thanks

Steve

This topic has been closed for replies.

1 reply

October 14, 2009

Locks is the usual way to handle that.

When your process starts it sets the lock and resets (unlocks) it when it is finished.

This way you do NOT need to list ALL executing sched tasks or pages...