PANTHEON™ Help

 Категории
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]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]Помощ
   [Expand]Старите продукти
   [Expand]Messages and Warnings
   [Collapse]Additional programs
     Добавяне на потребители - Добавяне на потребители в базата данни
    [Expand]PANTHEON Web Services (PAWS)
    [Expand]Datalab CHRONOS
    [Expand]Datalab OTOS
    [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]Ръководство за PANTHEON Търговия
  [Expand]Ръководство за PANTHEON Vet
  [Expand]Ръководство за PANTHEON Фермерство
 [Collapse]PANTHEON потребителски ръководства
  [Expand]Ръководство за потребителя за PANTHEON
  [Expand]Ръководство за потребителя за PANTHEON Retail
  [Expand]Ръководство за потребителя за PANTHEON Vet
  [Expand]Ръководство за потребителя за PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]PANTHEON Web Guides
  [Expand]Ръководство за PANTHEON Web Light
  [Expand]Ръководство за PANTHEON Уеб Терминал
  [Expand]Ръководство за PANTHEON Web Legal
  [Expand]Архив на стари продукти
 [Collapse]PANTHEON Web User Manuals
  [Expand]Започване на PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
   Ръководство за потребителя за PANTHEON Web Terminal
  [Expand]Ръководство за потребителя за PANTHEON Web Legal
  [Expand]Архив на стари продукти
[Collapse]PANTHEON Гранула
 [Collapse]Ръководство за PANTHEON Гранули
  [Expand]Гранула за служители
  [Expand]Пътни заповеди Гранула
  [Expand]Гранула за документи и задачи
  [Expand]Гранула Табло
  [Expand]Гранула за B2B поръчки
  [Expand]Гранула за обслужване на клиент
  [Expand]Инвентаризация на дълготрайни активи
  [Expand]Гранула за складови наличности
 [Collapse]PANTHEON Granules
   Започване
   Using PANTHEON Granules at Tecta, a fictional company
  [Expand]PANTHEON Granules and activation
  [Expand]PANTHEON Granule Work records
  [Expand]PANTHEON Granule Travel orders
  [Expand]PANTHEON Granule Documents and Tasks
  [Expand]PANTHEON Granule B2B orders
  [Expand]PANTHEON Granule Dashboard
  [Expand]Полеви сервизен гранул
   PANTHEON Granules - FAQ
  [Expand]Инвентаризация на дълготрайни активи
  [Expand]Инвентаризация на склада Гранула
   Архив
[Expand]Потребителски сайт

Load Time: 859,3806 ms
"
  1000001312 | 220986 | 407821 | Localized
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.
 

Оценете темата
Темата беше ли ви полезна?
Коментар
Вашият коментар ще бъде видим и във форума!