<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dafne.bi-services.sk/index.php?action=history&amp;feed=atom&amp;title=Executor_control</id>
	<title>Executor control - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dafne.bi-services.sk/index.php?action=history&amp;feed=atom&amp;title=Executor_control"/>
	<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Executor_control&amp;action=history"/>
	<updated>2026-10-23T19:07:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.4</generator>
	<entry>
		<id>https://wiki.dafne.bi-services.sk/index.php?title=Executor_control&amp;diff=64&amp;oldid=prev</id>
		<title>Dafne: Documentation import</title>
		<link rel="alternate" type="text/html" href="https://wiki.dafne.bi-services.sk/index.php?title=Executor_control&amp;diff=64&amp;oldid=prev"/>
		<updated>2026-08-06T13:36:46Z</updated>

		<summary type="html">&lt;p&gt;Documentation import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;executor&amp;#039;&amp;#039;&amp;#039; is the component that plans scenarios and runs tasks. Its status is shown on the button in the [[Monitor console]] filter bar, which also carries the available actions. The actions require the Admin role.&lt;br /&gt;
&lt;br /&gt;
These actions affect &amp;#039;&amp;#039;&amp;#039;everything&amp;#039;&amp;#039;&amp;#039; the executor is doing. To suspend a single run, pause that processing instead; see [[Controlling a processing]].&lt;br /&gt;
&lt;br /&gt;
== Status and available actions ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Executor statuses and transitions&lt;br /&gt;
! Status !! Meaning !! Available actions&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Running&amp;#039;&amp;#039;&amp;#039; || Normal operation. Scenarios are planned and tasks executed. || Pause, Stop&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Paused&amp;#039;&amp;#039;&amp;#039; || No new scenarios are planned and no new tasks are started. Running tasks continue. || Resume, Stop&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stopping&amp;#039;&amp;#039;&amp;#039; || A stop has been requested. The executor waits for running tasks to finish. || —&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Stopped&amp;#039;&amp;#039;&amp;#039; || Not running. The status button is disabled. || —&lt;br /&gt;
|-&lt;br /&gt;
| &amp;#039;&amp;#039;&amp;#039;Killing&amp;#039;&amp;#039;&amp;#039; || A forced stop is in progress. || —&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Pause ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Pause&amp;#039;&amp;#039;&amp;#039; suspends planning and execution. No new scenario is planned and no new task is started. Tasks already running are left to finish.&lt;br /&gt;
&lt;br /&gt;
Use it when:&lt;br /&gt;
* a target system needs to be taken out of service and you want the current tasks to complete first&lt;br /&gt;
* a configuration problem is affecting many tasks and you want to stop the damage spreading while you fix it&lt;br /&gt;
* maintenance has to be carried out and a clean stop is preferable to cancelling work in progress&lt;br /&gt;
&lt;br /&gt;
Pausing is almost always the right first response to a widespread problem. It stops new work without discarding what is already under way.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Resume&amp;#039;&amp;#039;&amp;#039; returns the executor to normal operation.&lt;br /&gt;
&lt;br /&gt;
While paused, the action menu on individual tasks reports &amp;#039;&amp;#039;Scheduler stopped&amp;#039;&amp;#039; and the task actions are disabled.&lt;br /&gt;
&lt;br /&gt;
== Stop ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Stop&amp;#039;&amp;#039;&amp;#039; shuts the executor service down. Before stopping for real, it &amp;#039;&amp;#039;&amp;#039;waits for running tasks to finish&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The important operational point: &amp;#039;&amp;#039;&amp;#039;the executor is not restarted automatically&amp;#039;&amp;#039;&amp;#039;. Whether it comes back depends entirely on how the installation is set up — a container platform configured to restart it will do so, a plain service installation will not. Confirm how your environment behaves before stopping the executor, particularly outside working hours.&lt;br /&gt;
&lt;br /&gt;
Because a stop waits for running tasks, a long-running task will delay it. The executor stays in &amp;#039;&amp;#039;&amp;#039;Stopping&amp;#039;&amp;#039;&amp;#039; status until that task completes.&lt;br /&gt;
&lt;br /&gt;
== Starting the executor ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;The executor cannot be started from the GUI.&amp;#039;&amp;#039;&amp;#039; The status menu offers only Pause, Stop and Resume; starting is an infrastructure operation.&lt;br /&gt;
&lt;br /&gt;
The executor is a long-running service — typically a system service or a container. How it is started, and whether it restarts by itself, depends on how your installation is deployed. Establish this before you stop it.&lt;br /&gt;
&lt;br /&gt;
This differs from the previous version of the product, which could stop itself when idle and be restarted by an operating system scheduler. Dafne has no equivalent: the &amp;#039;&amp;#039;&amp;#039;StopIdle&amp;#039;&amp;#039;&amp;#039; setting and the GUI&amp;#039;s &amp;#039;&amp;#039;Start server&amp;#039;&amp;#039; action no longer exist. The executor is expected to stay running.&lt;br /&gt;
&lt;br /&gt;
Whether an executor is running is detected through its database process name, configured as &amp;lt;code&amp;gt;dafne.executor-db-process-name&amp;lt;/code&amp;gt;. See [[Application configuration]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Site-specific: add the actual start command, service name or container for this installation. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Executor messages ==&lt;br /&gt;
The warning button beside the status shows the number of error and warning messages the executor has produced. These come from the executor itself rather than from individual tasks, and are the place to look when a whole scenario fails to plan.&lt;br /&gt;
&lt;br /&gt;
Each message shows its severity, text and timestamp. Administrators can mark a single message &amp;#039;&amp;#039;&amp;#039;Resolved&amp;#039;&amp;#039;&amp;#039; or clear them all with &amp;#039;&amp;#039;&amp;#039;Remove all&amp;#039;&amp;#039;&amp;#039;. The button is hidden when there are no messages.&lt;br /&gt;
&lt;br /&gt;
Clear messages once they have been dealt with. A list that is never cleared stops being a useful signal.&lt;br /&gt;
&lt;br /&gt;
== Choosing between the options ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Situation !! Action&lt;br /&gt;
|-&lt;br /&gt;
| One run needs to stop; everything else should continue || Pause that processing&lt;br /&gt;
|-&lt;br /&gt;
| Nothing new should start, but current work should finish || &amp;#039;&amp;#039;&amp;#039;Pause&amp;#039;&amp;#039;&amp;#039; the executor&lt;br /&gt;
|-&lt;br /&gt;
| The service must be shut down || &amp;#039;&amp;#039;&amp;#039;Stop&amp;#039;&amp;#039;&amp;#039; — confirm first how it will be restarted&lt;br /&gt;
|-&lt;br /&gt;
| One task must not run || &amp;#039;&amp;#039;&amp;#039;Hold&amp;#039;&amp;#039;&amp;#039; that task&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Task and processing statuses]]&lt;br /&gt;
* [[Controlling a processing]]&lt;br /&gt;
* [[Recovery after an outage]]&lt;/div&gt;</summary>
		<author><name>Dafne</name></author>
		
	</entry>
</feed>