A.115 getJobs

Lists jobs.

Syntax

getJobs [ startTime=value ] [ endTime=value ] [ amount=value ]

Description

This command lists all jobs, or jobs within a date range.

Although none of the options are mandatory, you must supply at least one option.

Options

The following table shows the available options for this command.

Option

Description

startTime=value

The start date and time from which to list jobs. The format to use is "MM-dd-yyyy HH:mm".

endTime=value

The end date and time from which to list jobs. The format to use is "MM-dd-yyyy HH:mm".

amount=value

The number of jobs to list. For example, if you specify amount=2, the command returns the latest two jobs.

Examples

Example A.149 Listing jobs in a date range

OVM> getJobs startTime="07-20-2012 12:00" endTime="07-22-2012 24:00"

See Also