Creating a Scheduled Job

Before starting this exercise, it is important to note that Jobs will appear in the Monitor for only 10 minutes after the Job has executed (run) independent of its status. We encourage you to work through uninterrupted to avoid repeating the exercise.

  1. In the Job Definitions tab, right-click TestFolder and select Add Job. The Add a New JAMS Job Definition screen is displayed.
  2. In the Folder field, ensure \TestFolder is displayed.
  3. In the Name field, enter a name, such as TestScheduledJob.
  4. In the Description field, enter a short description, such as This Job runs on a daily basis.
  5. In the Execution Method field, ensure Command is displayed.
  6. In the Edit this job definition after adding field, ensure the check box is selected.
  7. Click Ok. The Source tab for the Job is displayed.

  8. In the Source tab, enter Echo "Hello World!".
  9. Click the Schedule tab.
  10. Click +
  11. Select Run this job | on a schedule.
  12. In the Enabled field, ensure the checkbox is selected.
  13. In the Scheduled Date field, enter Daily.
  14. In the Scheduled Time field, enter a time one hour from now. For example, if the time is 11:30am, enter 12:30pm. If you are using a virtual machine, use the time on that machine as your reference.

  15. Click Finish. This Schedule Item is listed under the "run this job... (1 enabled)" section on the Schedule tab.
  16. Click the Properties tab.
  17. In the Execute As field, select the Credential that you created (TestCredential).
  18. Click Save and Close. The TestScheduledJob is now available in the TestFolder.