home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / tasker1.zip / INSTALL / ESBATCH.INF (.txt) < prev    next >
OS/2 Help File  |  1994-03-18  |  52KB  |  404 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Read-Me First ΓòÉΓòÉΓòÉ
  3.  
  4.       This software is being made available as a beta version until June 30, 
  5.      1994. if you have any comments, suggestions, or problems, Please Call us 
  6.      at 219-833-4556 or 219-482-3179 
  7.  
  8.  
  9. ΓòÉΓòÉΓòÉ 1.1. License Agreement ΓòÉΓòÉΓòÉ
  10.  
  11.        You should carefully read the following terms and conditions before 
  12.      using this software.  Use of this software indicates your acceptance of 
  13.      these terms and conditions.   You are hereby licensed to:  use the beta 
  14.      version of the software for a 45 day evaluation period, not to extend past 
  15.      June 30,1994; make as many copies of the beta version of this software and 
  16.      documentation as you wish; use the beta version of this software on as 
  17.      many computers as you would like.   You are specifically prohibited from 
  18.      charging, or requesting donations, for any copies, however made; and from 
  19.      distributing the software and/or documentation with other products 
  20.      (commercial or otherwise). 
  21.  
  22.  
  23. ΓòÉΓòÉΓòÉ 1.2. Warranty Disclaimer ΓòÉΓòÉΓòÉ
  24.  
  25.  Disclaimer  This software and the accompanying files are given "as is". The 
  26. user must assume the entire risk for using this software. In no event shall 
  27. Evolutionary Software Company, employees,its contractors or the authors of this 
  28. documentation be liable for special, direct, indirect or consequential damages, 
  29. loses,costs,charges,claims,demands or claim for lost profits,fees or expenses 
  30. of any nature or kind.  Warranty  EXCEPT AS RESTRICTED BY LAW, THE SOFTWARE 
  31. PROGRAMS CONTAINED IN THE FILE ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 
  32. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED 
  33. WARRANTIES OF MERCHANTABILITY, TITLE OR FITNESS FOR A PARTICULAR PURPOSE. 
  34.  
  35.  
  36. ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
  37.  
  38.      The Evolutionary Software Batch Management System allows you to control 
  39.      Mission critical jobs and repetitive task from with in the OS/2 Workplace 
  40.      shell. By utilizing the power of System Object Modules (SOM) and the OS/2 
  41.      Workplace shell The standard OS/2 Graphical Interface is used to create 
  42.      job proprieties, review logs, and verify execution of programs. 
  43.  
  44.      Since the programs are user defined as WPS Objects you can execute OS/2, 
  45.      DOS, and Windows programs.  You can control program parameters like full 
  46.      screen, windowed, minimized and DOS Settings just like any OS/2 Object! 
  47.  
  48.      Evolutionary software has added a page to the settings note book on a 
  49.      program object. The Page on the notebook Titled "Batch Time" has all the 
  50.      necessary settings to automatically start that particular object. If you 
  51.      are familiar with the OS/2 Workplace shell you will find the Evolutionary 
  52.      software approach extremely easy to use. 
  53.  
  54.  
  55. ΓòÉΓòÉΓòÉ 3. Installation ΓòÉΓòÉΓòÉ
  56.  
  57.  
  58. ΓòÉΓòÉΓòÉ 3.1. Performing the Installation ΓòÉΓòÉΓòÉ
  59.  
  60.       1. Place the installation diskette into a diskette drive (for example, 
  61.          Drive A). 
  62.  
  63.       2. Open an OS/2 window (found in OS/2 System Command Prompts). 
  64.  
  65.       3. Make the diskette drive the current drive by typing in the drive 
  66.          letter (for example A:) then press Enter. 
  67.  
  68.       4. Then type in "ESINST"  and press Enter to start the install program. 
  69.  
  70.       5. The install program will then display a screen with the source drive 
  71.          for the installation diskette set to the A drive. The target drive for 
  72.          transferring of the installation files set to the C drive. The target 
  73.          directory for the installation files has been set to BATCH. Change the 
  74.          the values if necessary to match your environment. 
  75.  
  76.       6. Point to the Install button and Click. 
  77.  
  78.       7. Follow any further instructions during the install program. 
  79.  
  80.       8. After installation completes remove the installation diskette from the 
  81.          drive. 
  82.  
  83.       9. Please reboot your computer. 
  84.  
  85.  
  86. ΓòÉΓòÉΓòÉ 3.2. Installation Details ΓòÉΓòÉΓòÉ
  87.  
  88.      This installation will perform the major functions listed below. This 
  89.      installation will require a reboot of your computer. 
  90.  
  91.       1. The installation diskette will be copied to a target drive and 
  92.          directory selected by the installer. 
  93.  
  94.       2. The LIBPATH,PATH,DPATH, and SET BOOKSHELF statements in the CONFIG.SYS 
  95.          will be updated to include the selected target drive and directory. 
  96.          The original CONFIG.SYS will be saved as CONFIG.ESI 
  97.  
  98.       3. A new folder will be created on your OS/2 desktop containing the 
  99.          program objects in support of the Evolutionary Software Task Scheduler 
  100.          & Management System. 
  101.  
  102.       4. A log file(batchlog.dat) will be created and initialized in the target 
  103.          directory. 
  104.  
  105.       5. A registration folder will temporarily be created in your OS/2 startup 
  106.          folder. After re-booting your computer(per installation instructions) 
  107.          the registration of the Evolutionary Software Task Scheduler & 
  108.          Management system will complete. The registration will remove itself 
  109.          from the startup folder as this should only be needed once during the 
  110.          installation. 
  111.  
  112.       6. A new object will be created in your templates folder. This new object 
  113.          named "Batch" will be what you use to drag to the desktop for each 
  114.          task to be scheduled. 
  115.  
  116.      Note:  SET RESTARTOBJECTS=NO If this parameter is in your computers 
  117.      CONFIG.SYS, a warning message should have been issued by the install 
  118.      program. This is not an error, but the program object that was added to 
  119.      your startup folder will not execute after you reboot your computer. 
  120.      Therefore after you have re-booted your computer you must open the startup 
  121.      folder (found in OS/2 System) and point to the registration object and 
  122.      double-click. This will start the registration program and complete the 
  123.      installation. 
  124.  
  125.  
  126. ΓòÉΓòÉΓòÉ 4. Getting Started ΓòÉΓòÉΓòÉ
  127.  
  128.      This section will run you through an example to create an object. The 
  129.      object we will create will be called fred. Fred will be scheduled to 
  130.      execute every 1 minute. After we have created fred, you will be able to go 
  131.      look into the log file and see when fred has run. So let's get started. 
  132.  
  133.      In order to create fred we need to open your OS/2 templates folder. Find 
  134.      your OS/2 templates folder and double click on it. When the folder opens 
  135.      up, find the object that looks like the following. Point your mouse 
  136.      pointer at the object. Hold down your right mouse button and drag out a 
  137.      new batch object. A dialog notebook will appear that looks like the 
  138.      following. 
  139.  
  140.      In the Path and file name field key in the path of where you installed the 
  141.      batch system An example would be "c:\batch\fred.cmd". Click on the Batch 
  142.      Time tab of the notebook.The following notebook will appear. 
  143.  
  144.       Fill it out exactly as seen above. The start date and time field will get 
  145.      updated to a more current date the first time it scheduled to run. Close 
  146.      the window out after you have finished. You have created your first Batch 
  147.      Object. 
  148.  
  149.      In order for the object to be scheduled an executed, You need to run the 
  150.      batch agent. Locate and Double click on the Batch Folder. Inside the Batch 
  151.      Folder you will find a program called Batch Agent. Double click on the 
  152.      Batch Agent. If you have setup fred correctly as soon as you double click 
  153.      on the Batch Agent fred should run. It will them run every 1 minute after 
  154.      that. 
  155.  
  156.      After fred has run a couple of times, Let's check the log. Open up the 
  157.      batch folder and click on the program object titled view Log. There should 
  158.      be some entries in there titled batch. That is fred. If you wanted the 
  159.      entries to be titled something other than batch, Change the title of the 
  160.      object on the desktop. I hope this section helped you get started. 
  161.  
  162.  
  163. ΓòÉΓòÉΓòÉ 5. Creating New Objects ΓòÉΓòÉΓòÉ
  164.  
  165.  
  166. ΓòÉΓòÉΓòÉ 5.1. Overview ΓòÉΓòÉΓòÉ
  167.  
  168.      This section will describe the basic steps necessary in creating a new 
  169.      task to be scheduled and executed. The headings in this section will be 
  170.      referenced and highlighted so you can click on those headings to get a 
  171.      more detailed explanation as you read through the overview. 
  172.  
  173.      Each new Batch object starts in the templates folder. Simply drag out a 
  174.      Batch object from the templates folder as explained in Create The New 
  175.      Object. After the object has been put on the desktop, a notebook will 
  176.      appear. In the notebook are tabs with the setting information for each 
  177.      object that cause the object to automatically start. Settings for the 
  178.      batch time tab are explained in Modifying "Batch Time"  After the batch 
  179.      time tab has been filled out and the update button has been pressed. The 
  180.      object is ready to be started at the given times. 
  181.  
  182.      After all the objects have been created The agent needs to be run in order 
  183.      for the objects to be automatically executed. It would be the suggestion 
  184.      of evolutionary software to create a shadow of the Batch Agent and put it 
  185.      in the startup folder.This will ensure the agent will be executed every 
  186.      time you start your computer. You can find out how to create a shadow by 
  187.      consulting your OS/2 Documentation. The batch agent icon looks like the 
  188.      following. More information on the Batch Agent can be found in  The agents 
  189.      Job. 
  190.  
  191.  
  192. ΓòÉΓòÉΓòÉ 5.2. Create The New Object. ΓòÉΓòÉΓòÉ
  193.  
  194.      In order to get a new Batch object from the templates folder, first you 
  195.      must locate the templates folder. The templates folder looks like the 
  196.      following. Once you locate the templates folder, open it by double 
  197.      clicking on it with the left mouse button. The templates folder will open 
  198.      up. locate the "Batch" template object In the templates folder . It will 
  199.      look like the following.  Position your cursor on the BATCH object 
  200.      template. Hold down your right mouse button and drag the new object out to 
  201.      an empty spot on your desktop. The first screen you will see is the 
  202.      setting page for the batch object. This setting page is exactly the same 
  203.      as a program object. In fact, the Batch object is exactly the same as 
  204.      program object with  the exception of a new tab that is added called 
  205.      "Batch Time".Consult your OS/2 documentation on how to set up a program 
  206.      object. An explanation of the "Batch Time" tab in the notebook is 
  207.      explained in Modifying "Batch Time" 
  208.  
  209.  
  210. ΓòÉΓòÉΓòÉ 5.3. Modifying "Batch Time". ΓòÉΓòÉΓòÉ
  211.  
  212. Click on the batch Time tab with the left mouse button In order to open the 
  213. time settings for that object. The batch time tab looks like the following. 
  214. After you click on that tab a page comes up in the book that looks like the 
  215. following.  Each letter from the above figure is explained in the following 
  216. list. 
  217.  
  218.       A.) The start date and time box represents the next date and time the 
  219.      object will be executed. 
  220.  
  221.       B.) The Repeat Every box represents how often you want the object to 
  222.      repeat. Put a number in the upper box. Put a quantity of time in the pull 
  223.      down list. Example would be "5 ,seconds". This object would then execute 
  224.      every five seconds. If you have the object Repeat interval set on none 
  225.      then it will only run once. However it will not delete the object. This 
  226.      could be useful for setting up objects that need to run at night but you 
  227.      don't know what day. When you find out what day schedule that object at 
  228.      that time you want it to run. The object will only run once again. 
  229.  
  230.       C.) These check boxes represent exception days. If you never want this 
  231.      object to execute on a monday, put a check in the M box. 
  232.  
  233.       D.) If you press the help button, You guessed it. You get this help 
  234.      facility. 
  235.  
  236.       E.) The update button commits all changes made to the dialog box to the 
  237.      database. If you do not press the update button all the changes you have 
  238.      made in this dialog box are lost. 
  239.  
  240.       F.) This is a list box full of exception days. If the object is scheduled 
  241.      to run on 2/20/95, but the list box has that day in it. The object will 
  242.      not run on that day. 
  243.  
  244.       G.) This button deletes all exception days out of the list box that have 
  245.      been selected. 
  246.  
  247.       H.) This button adds a date from the date entry field to the list box. 
  248.  
  249.       I.) This Is the date entry field. If you type a date in this box and hit 
  250.      the add button. The date will move from this box to the date exception 
  251.      list box. 
  252.  
  253.  
  254. ΓòÉΓòÉΓòÉ 6. Logging Information In The Log File ΓòÉΓòÉΓòÉ
  255.  
  256.      The log file consists of three fields. 
  257.  
  258.       1. The Name Field 
  259.       2. The Start Date/Time Field 
  260.       3. The Action Field 
  261.  
  262.      All actions that take place on batch objects are automatically logged into 
  263.      the log file. Currently there are 3 different types of actions 
  264.  
  265.      The 3 action types are. 
  266.  
  267.       1. Program Was executed. 
  268.       2. The Program Was Closed 
  269.       3. The Settings View was opened 
  270.  
  271.       User defined actions and names.  However, there are times that the user 
  272.      may want to log information to the file saying that a particular job maybe 
  273.      half completed. For this reason we have provided 2 command line utilities. 
  274.      The 2 command Line utilities are. 
  275.  
  276.       1. log.exe->OS/2 log program 
  277.       2. doslog.EXE->Dos log program 
  278.  
  279.      Both Log.exe and doslog.exe have the same parameters. The first parameter 
  280.      is the name field. The name field can be no longer than 30 characters. The 
  281.      second parameter is the action field. The action field can be no longer 
  282.      than 150 characters. 
  283.  
  284.      Here are 2 examples 
  285.  
  286.       1. log "batch" "The return code was 5" 
  287.       2. doslog "DOS batch" "Batch file transfer completed " 
  288.  
  289.  
  290. ΓòÉΓòÉΓòÉ 7. The Agent's Job. ΓòÉΓòÉΓòÉ
  291.  
  292.      The agents job is to check the database on a regular basis. The frequency 
  293.      that the agent checks the database is determined by spin button A. in the 
  294.      fig. The agent checks the database. If the object needs to be executed, it 
  295.      executes that object and then stores the next start interval in the object 
  296.      database. The object at close time  will update it's desktop title based 
  297.      on the next start time in the database. The Log button B. in the fig will 
  298.      execute the log viewing program. The help button D. in fig  will get you 
  299.      to this help facility. The last scan time is the last time the agent 
  300.      checked the database for batch objects to execute. 
  301.  
  302.  
  303. ΓòÉΓòÉΓòÉ 8. Modify An Existing Object. ΓòÉΓòÉΓòÉ
  304.  
  305.  
  306. ΓòÉΓòÉΓòÉ 8.1. Modify All object Parameters ΓòÉΓòÉΓòÉ
  307.  
  308.      Every object's parameters can be changed. If you want to change an objects 
  309.      parameters, Move the cursor so that it points to the object. Click the 
  310.      right mouse button once and the following menu comes up. 
  311.  
  312.      Click with the left mouse button on the arrow next to the word open in the 
  313.      menu. A second menu will pop up with the word settings. Click with the 
  314.      left mouse button on the word settings. The notebook associated with this 
  315.      object will come up. For further information on this notebook see 
  316.      Modifying "Batch Time" . 
  317.  
  318.  
  319. ΓòÉΓòÉΓòÉ 8.2. Modifying Start Date/time ΓòÉΓòÉΓòÉ
  320.  
  321.      You can modify the start date time by changing the title of the object. 
  322.      Simply point the cursor at the object. Hold down the control key and press 
  323.      the left mouse button. You can now modify the title of the object. Simply 
  324.      stay within the format of yy/mm/dd,hh/mm/ss,title and the object database 
  325.      will get updated with the new date and time. 
  326.  
  327.  
  328. ΓòÉΓòÉΓòÉ 9. View log file ΓòÉΓòÉΓòÉ
  329.  
  330.      The Evolutionary Software Task Scheduler & Management System automatically 
  331.      records events associated with each task scheduled. This provides a 
  332.      historical log that may be used to track all scheduled tasks. The view 
  333.      utility has been provided to display all the events recorded in the log 
  334.      file. Filters may also be used to select only matching log entries. You 
  335.      may periodically want to make a copy of the current log file for 
  336.      historical purposes. You may also wish to clear the log file. The ability 
  337.      to copy and view those historical logs is provided within the utility. The 
  338.      Menu Bar contains the following options: 
  339.  
  340.      File 
  341.  
  342.      o Open -     This will select a different log file to report on. 
  343.  
  344.      o Copy -     This will copy the current log file to another file. 
  345.  
  346.      o Initialize -  This will create/clear and initialize the log file for 
  347.        processing. 
  348.  
  349.      Filter 
  350.  
  351.      o By Day   -  Select events logged for a specific day of the week. 
  352.  
  353.      o By Month  -  Select events logged for a specific month. 
  354.  
  355.      o By Date  -  Select events logged for a specific month and day. 
  356.  
  357.      o By Name  -  Select events logged for a specific task name. 
  358.  
  359.      o By Action -  Select events logged for a specific action. 
  360.  
  361.      o Remove   -  Removes the filter and selects all events. 
  362.  
  363.      Exit This will exit the program. 
  364.  
  365.      Help This will initiate help. 
  366.  
  367.  
  368. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  369.  
  370. The Settings view was opened meant that someone opened the settings page for 
  371. that object. This means that some of the objects settings could have been 
  372. changed. This will have a corresponding close. 
  373.  
  374.  
  375. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  376.  
  377. This means that the current open view closed. 
  378.  
  379.  
  380. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  381.  
  382. This means that the object was actually executed. There will be a corresponding 
  383. close for this object. 
  384.  
  385.  
  386. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  387.  
  388. The name field contains the WorkPlace Shell title of the object. If you change 
  389. the title of the object. That title change will be reflected in the log file 
  390. the next time an action takes place on that object. 
  391.  
  392.  
  393. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  394.  
  395. The action field contains the WorkPlace Shell action That took place on the 
  396. object. There are a number of different Types of actions which are discussed 
  397. Later. 
  398.  
  399.  
  400. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  401.  
  402. The Time field contains the time the WorkPlace Shell action took place on the 
  403. object. This time is automatically stored by the object and or the command line 
  404. log utilities.