Child pages
  • [scheduled tasks] Trigger error on Scheduled Task Timeout
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/e2616936181a3c6e#

There is a "Timeout" setting (in seconds) defined with each scheduled task. When entered it allows to automatically restart long running scheduled tasks, which in fact may be just hang up and haven't reported their status due that.

Right now it happens automatically and in of low timeout value we maybe restarting scheduled task even while it is running and this way creating possibility where 2 scheduled tasks will run in parallel.

Solution

I'm proposing to raise a notice each time scheduled task is reset by Timeout setting. This notice will go into "System Log" section and later developers can review it and confirm that such problem doesn't happen.

2 Comments

  1. This is a good idea, scheduled tasks are a very powerful part of in-portal features, but actually they act in background, with very few to none report about their status, so I'm for it.

    Envoy

  2. Hi Alex,

    Agreed, let's file a new task for this in 5.3.0 please

    DA