/
Preventing Task Plans From Running

Preventing Task Plans From Running

This page is for data modellers, application designers and system administrators. It explains how to stop task plans running during system maintenance.

Overview

During upgrade and maintenance, you may want to run your PhixFlow instance whilst preventing task plans from running. There are two options you can use to achieve this:

Disabling Scheduled Task Plans

You can disable scheduled task plans:

  • from within PhixFlow, using theĀ System Configuration ā†’Ā Advanced ā†’Ā Disable Scheduled TasksĀ 
  • without logginging into PhixFlow, using theĀ server.propertiesĀ fileĀ disableScheduledTasks=falseĀ option.

Only disable scheduled task plans if it is essential.Ā Restore scheduled task plans to being able to run as soon as possible.Ā 

Task plans doĀ not run retrospectively when the option is cleared. You must manually start any tasks plans that missed their scheduled start time.

From Within PhixFlow

To disable all scheduled task plans, in system configuration tick Disable Scheduled Tasks.Ā  As long as this option is ticked scheduled task plans will not start. Scheduled task plans that are already running are not affected.

To allow scheduled task plans to run again, untickĀ Disable Scheduled Tasks.

Before Restarting PhixFlow

To disable all scheduled task plans:

  1. Edit the fileĀ tomcat\webapps\<phixflow installation directory>\WEB-INF\classes\server.propertiesĀ 
  2. Set disableScheduledTasks=true
  3. Restart PhixFlow.Ā 
    • Disable Scheduled Tasks is automatically ticked.
    • Scheduled task plans do not run.

Setting server.propertiesĀ disableScheduledTasks=trueĀ whilst PhixFlow is running has no effect. PhixFlow must be restarted.Ā Once PhixFlow is running, it uses Disable Scheduled TasksĀ to decide whether or not to run scheduled task plans.Ā 

To allow task plans to run again:

  1. Set theĀ server.propertiesĀ fileĀ disableScheduledTasks=false
    You must do this because:
    • clearing theĀ Disable Scheduled Tasks check box does not change the setting in server.properties file
    • the next time the server restarts, scheduled task plans will run as normal.Ā 
  2. Log into PhixFlow.
  3. InĀ system configuration untick Disable Scheduled Tasks.Ā 
    This restarts the scheduled task plans.

SettingĀ disableScheduledTasks=false then restarting the server does not untickĀ Disable Scheduled Tasks.

Related content

Preventing Task Plans From Running
Preventing Task Plans From Running
More like this
Preventing Task Plans From Running
Preventing Task Plans From Running
More like this
Preventing Task Plans From Running
Preventing Task Plans From Running
More like this
Restricting Access During System Maintenance
Restricting Access During System Maintenance
More like this
Restricting Access During System Maintenance
Restricting Access During System Maintenance
More like this
Task Plans
Task Plans
More like this