Automic Community

Expand all | Collapse all

How to create a job with different command lines

  • 1.  How to create a job with different command lines

    Posted 07-10-2018 10:23 AM
    how to create a job with different command lines, I want to create a job with the following lines, and execute them in the order indicated.
    1.- sc stop "CIS401"
    2.- timeout 10
    3.- taskkill /f /IM CIS-Svc.exe /T


  • 2.  Re: How to create a job with different command lines

    Posted 07-10-2018 10:31 AM

    Hi mr.nazario,

     

     

    You had selected all the categories (which included many different product line)... Can you let us know which one you are current using and if those selection of categories are correct.. As some of the step will defer depending on the product.

     



  • 3.  Re: How to create a job with different command lines

    Posted 07-12-2018 06:24 AM

    If you are refering to Autosys, the only way to to that is to create a script (bat file in your case).

    Put all lines inside, and then put the full path to that script in command line within job configuration.