5.7 Walkthrough: Run the Sample Job

Deployed jobs can be run from the User Portal, from the Scheduler utility inside of the ZENworks Orchestrator console, or from the zos command line. For the purpose of this walkthrough, we will run a sample job from the command line.

  1. From a system terminal, enter the following command:

    zos run whoami
    

    If you have more than one resource connected, you might want to run the job on one resource in particular. If you want do run the job this way, you can do so by adding an argument to the command line:

    zos run whoami resource=name_of_resource
    

Now that you have run the sample job, you need to use some of the ZENworks Orchestrator tools to verify that it has run. For more information, see Section 5.8, Walkthrough: Look at the Job After It Has Run