209/461

## list-schedules

lists existing schedules

Synopsis

    list-schedules [--help]
    [--long[={false|true}]]
    [schedule-name]

Description

The `list-schedules` subcommand lists existing schedules.

This subcommand is supported in remote mode only.

Options

`--help`
`-?`

  Displays the help text for the subcommand.

`--long`
`-l`

  Provides detailed information about the listed schedules.

  The default value is `false`.

Operands

schedule-name

  Restricts the listing to the named schedule.

Examples

Example 1 Listing Schedule Information

  This example uses the `--long` option to display detailed information about all existing schedules.

      asadmin> list-schedules --long
      NAME     SECOND  MINUTE  HOUR  DAY OF WEEK  DAY OF MONTH  MONTH  YEAR
      daily    0       0       0     *            *             *      *
      weekly   0       0       0     Sun          *             *      *
      monthly  0       0       0     *            1             *      *
      Command list-schedules executed successfully.

Exit Status

0

  subcommand executed successfully

1

  error in executing the subcommand

See Also

create-schedule(1), delete-schedule(1)

asadmin(1M)