how to schedule the jobs in process desginer

Last post 08-16-2012 10:21 AM by ramu20081. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 07-22-2012 2:31 AM

    how to schedule the jobs in process desginer

    can any one explain how to run the few process in parallel and few process in sequence?
  • 07-23-2012 4:27 PM In reply to

    Re: how to schedule the jobs in process desginer

    Can you elaborate more on what you are trying to accomplish?
  • 08-11-2012 9:50 PM In reply to

    Re: how to schedule the jobs in process desginer

    how to do scheduling the jobs using process designer? ex:i have 5 process .out of 5 first 2 process should run in sequence and 3,4 process should run parallel after completion of 1 and 2 . and 5 process sholud run after 3 and 4 . please exaplain how to do this in pervasive process desinger?
  • 08-13-2012 3:59 PM In reply to

    • Mr E
    • Top 100 Contributor
    • Joined on 03-25-2011
    • Posts 60

    Re: how to schedule the jobs in process desginer

    Link 1 to 2, link 2 to both 3 and 4, link 3 and 4 to 5.

    Hoping the following text diagram works...

     1

     |

     2

    / \

    3 4

    \ /

    5

     

  • 08-15-2012 2:21 PM In reply to

    Re: how to schedule the jobs in process desginer

    Strictly speaking about scheduling, you cannot schedule jobs in process designer. You can call jobs from the engine using a batch file once they have been package as a DJAR. You will need to use a tool such as  integration manager to package DJAR files. Below  you can use the following Batch Script template to begin the process of scheduling your projects using Windows Task Scheduler.


       Set logFile="C:\Program Files (x86)\Pervasive\Cosmos9\MyProject\LogFilename.log"

    :: Set EngCosmos.ini File Location
       Set iniFile="C:\ProgramData\Pervasive\Cosmos9\Common\cosmos.ini"

    :: Set Macro Location
       Set macroLocation="C:\Program Files (x86)\Pervasive\Cosmos9\MyProject\macrodef.xml"

    :: Set Process Location
       Set importMasterProcess="C:\Program Files (x86)\Pervasive\Cosmos9\MyProject\xmldb\p_MyProcess.djar"

    :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    :: RUN PROCESS ::::::::::::::::::::::::::::::::::::::::::::::
    :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

    djengine -pe -l %logFile% -mf %macroLocation% "C:\Program Files (x86)\Pervasive\Cosmos9\MyProject\xmldb\p_MyProcess.djar"

     

     

  • 08-15-2012 8:51 PM In reply to

    • jdd
    • Top 25 Contributor
    • Joined on 04-04-2005
    • Posts 363

    Re: how to schedule the jobs in process desginer

    you don't need to create djar files. You can use the above script and point to p_MyProcess.ip.xml as well.

  • 08-16-2012 10:21 AM In reply to

    Re: how to schedule the jobs in process desginer

    thank you so much for your reply.
Page 1 of 1 (7 items)