PANTHEON™ Help

 Toc
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]Guides for PANTHEON
  [Collapse]Guide for PANTHEON
   [Expand]Settings
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]POS
   [Expand]Service
   [Expand]Financials
   [Expand]Personnel
   [Expand]Analytics
   [Expand]Desktop
   [Expand]Help
   [Expand]Messages and Warnings
   [Collapse]Additional programs
     AddUsers - Adding Database Users
    [Expand]PANTHEON Web Services (PAWS)
    [Expand]Datalab OTOS
    [Expand]Datalab CHRONOS
    [Expand]Datalab ATENA
    [Expand]Datalab Migrator
     Post-Migration Wizard
    [Expand]mobilni Potni Nalogi
    [Expand]Pantheon LX/LT
     Pantheon SHAKE
    [Collapse]PANTHEON Automation Server (PAAS)
     [Collapse]Meaning and operation of PAAS
       PAAS operation process
       Task Autorun with PAAS
     [Expand]PAAS installation and testing
     [Expand]Description of REST methods for processing tasks
      PAAS Multi server support
      Alternative to REST API
      Default values and PAAS.exe options
      PAAS upgrade
   [Expand]Old products
  [Expand]Guide for PANTHEON Retail
  [Expand]Guide for PANTHEON Vet
  [Expand]Guide for PANTHEON Farming
 [Collapse]User Manuals for PANTHEON
  [Expand]User Manual for PANTHEON
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]Guides for PANTHEON Web
  [Expand]Guide for PANTHEON Web Light
  [Expand]Guide for PANTHEON Web Terminal
  [Expand]Guide for PANTHEON Web Legal
  [Expand]Old products Archive
 [Collapse]User Manuals for PANTHEON Web
  [Expand]Getting started PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
  [Expand]User Manual for PANTHEON Web Terminal
  [Expand]User Manual for PANTHEON Web Legal
  [Expand]Old products Archive
[Collapse]PANTHEON Granules
 [Collapse]Guides for PANTHEON Granules
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]Dashboard Granule
  [Expand]B2B Orders Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
 [Collapse]User Manuals for PANTHEON Granules
  [Expand]Getting started
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]B2B Orders Granule
  [Expand]Dashboard Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
  [Expand]Archive
[Expand]User Site

Load Time: 937.5151 ms
"
  1000001312 | 220986 | 371823 | Updated
Label

Task Autorun with PAAS

89213.gif010380.gif010379.gif010381.gif010411.gif010382.gif010383.gif

 

Automatic execution of tasks with PAAS is done for tasks added to Task Autorun in the Administration Panel.

In tasks for execution with PAAS, there must not be any opening of modular forms and dialogues. Processes need to be written for autorun.

Only tasks defined for Autorun with PAAS are executed.

 

Tasks to run external applications are not executed. Tasks with the settings ‘At startup’ are not executed.

 

Decisions that cannot be processed by automatic procedures can be dealt with by Workflows.

 

PAAS links to all PANTHEON databases on the server and queries for tasks with the time scheduled for execution. When finding such a task, PAAS runs PANTHEON that links to the database and executes the task.

After finished execution, PAAS logs the user out of PANTHEON and, without login, keeps the program open for a certain time, waiting for the next claim for task execution. After a certain time, PANTHEON is closed.

This is how tasks are executed without any user intervention.

 

Pantheon Automation Server - starting check for specific DB at specific time is tied to Autorun feature of Pantheon and Automation Server. At the moment, autorun part of automation server waits for Pantheon support for SQL Server imersonate feature.

Regarding Pantheon Automation Server - starting check for specific DB at specific time PAAS itself works like this:

  •   PAAS connects directly to SQL Server
  •   It lists all Pantheon databases (or a subset listed in PAAS.ini)
  •   It creates separate green thread for every Autorun table found on server
  •   Tables are checked at regular intervals ("short pooll" method) separately in its own thread
  •   When time comes for autorun task to run - Pantheon is started
  •   Autorun task is executed by Pantheon


Pantheon stays active in memory for timeout period (set in PAAS.ini, deault 60min) and waits to run other tasks.


Example:

We have DB1, DB2, DB3; all databases have 10min repeating tasks.

On startup, PAAS will connect to SQL Server and create 3 green threads.

  •    If all three tasks are run on same time: Three Pantheon instances are created to run 3 tasks
  •    If one task runs - One Pantheon is started to run one task. Then second task comes for run:

       - if Panthon is done with first task - same Pantheon is used to run second task
       - If Pantheon is stil busy with first task - another Pantheon instance is created for second task

 

Related topics:

Only tasks defined for Autorun with PAAS are executed.

 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!