Using Scheduled Scripts

Once you create a script that works for you, you can schedule it to run on a regular basis. Scripts can be run on the fly as temporary ad hoc scripts, or you can create and schedule scripts to run on a regularly scheduled basis, with the results sent to an application or data store of your choice. The schedule increments run from 5 minutes to 30 days. For example, you can schedule a job to run every 5 minutes for 72 hours; or every 24 hours minutes for 72 hours (that is, once a day for 3 days).

  1. Create the script you want to have run on a scheduled basis and click Schedule Script. The Schedule Orbital Script popup window opens, as shown in the figure below.

  2. Note: The default schedule is to run the job once in 24 hours.
  3. Define the script's schedule by providing the parameters for the following popup elements.

    1. Type the name of the script in the Name field. This is the name of the script's schedule that will be listed in the Results page. You do not have to provide a name to the script's schedule. If you wish, you can choose to use the default schedule name.

    2. Set the script schedule's frequency using the Schedule every dropdown. Click the down arrow on the right side of the Schedule every dropdown, then select the appropriate value. Refer to the top paragraph of this topic for a definition of frequency.

    3. Set the script schedule's duration using the for dropdown. Click the down arrow on the right side of the for dropdown, then select the appropriate value. Refer to the top paragraph of this topic for a definition of duration. Refer to the for element definition in the

    4. Select the Run Once toggleswitch if you wish to have the script's schedule run once in the next 24 hours. Selecting this toggleswitch will cancel any values you set for the Schedule every and for dropdowns.

    5. Us the Remote Data Store dropdown to select the remote data store source where the script's results will be sent during its run.

    6. Select the Save empty results toggleswitch if you wish to include script results where the endpoint has not returned any result values.

    7. Use the Add Remote Data Store link to add a new remote data store, if the data store or stores you need are not listed in the Remote Data Store dropdown. Clicking this link will open the Settings page and display the Remote Data Stores tab.

    8. Selecting the Go to Result toggleswitch will redirect you to the Results page (shown in the figure below) and display the script's results for that job once you have started the script's run. This has the benefit of immediately viewing the results instead of having to migrate to the Results page, then find and select the results from the list of jobs.

  4. Start or abandon the script's schedule.

    • Click Schedule to begin running the script's schedule. Clicking this button with remove the Schedule Orbital Script popup from the screen and start the script. Once you have started the script, you can see it listed on the Results page.

    or

    • Click Cancel to abandon the script's schedule. Clicking this button will remove the Schedule Orbital Script popup from the screen and discard any parameters you might have set.

How to Select Multiple Remote Data Stores

There may by times when you wish to sent the results of a script to more than one remote data store. In order to assign more than one remote data store to a script's schedule:

  1. Click the Remote Data Store dropdown to expand it.

  2. Navigate to the desired remote data store listing.

  3. Select the desired remote data store so that it is displayed in the Remote Data Store dropdown's field.

  4. Expand the Remote Data Store dropdown again.

  5. Navigate to the next desired remote data store listing and select it.

  6. Repeat until you have selected all of the required remote data stores.

Note: In order to delete a remote data store listing, click on the X beside the data store's name.

More Info