Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This topic is pageis for data modellers, application designers and system administrators. The pages in this topic explain how to create and run automated tasks in PhixFlow. It also explains strategies for tasks that affect streams. It explains how to stop task plans running during system maintenance.

The pages in this topic are:

Child pages (Children Display)
depth4


Panel
borderColor#7da054
titleColorwhite
titleBGColor#7da054
borderStylesolid
titleSections on this page

Table of Contents
maxLevel3
indent12px
stylenone


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.
Warning

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.
Note

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