storage aggregate reallocation schedule

Modify schedule of reallocate job on aggregate

Availability: This command is available to cluster administrators at the admin privilege level.

Description

Schedules a reallocation scan for an existing reallocation job. If the reallocation job does not exist, use the storage aggregate reallocation start command to define a reallocation job.

You can delete an existing reallocation scan schedule. However, if you do this, the job's scan interval reverts to the schedule that was defined for it when the job was created with the storage aggregate reallocation start command.

Parameters

-aggregate <aggregate name> - Aggregate Name
Specifies the aggregate on which you want to schedule reallocation jobs.
[-del | -d [true]] - Delete
Deletes an existing reallocation schedule when set to true. If you use this command without specifying this parameter, its effective value is false and the reallocation schedule is not deleted. If you specify this parameter without a value, it is set to true and the reallocation schedule is deleted.
[-cron | -s <text>] - Cron Schedule
Specifies the schedule with the following four fields in sequence. Use a space between field values. Enclose the values in double quotes.
  • minute is a value from 0 to 59.
  • hour is a value from 0 (midnight) to 23 (11:00 p.m.).
  • day of week is a value from 0 (Sunday) to 6 (Saturday).
  • day of month is a value from 1 to 31.
    Note: If you specify 31 as the value for the day of month, reallocation scans will not run in any months with fewer than 31 days.

Use an asterisk "*" as a wildcard to indicate every value for that field. For example, an * in the day of month field means every day of the month. You cannot use the wildcard in the minute field.

You can enter a number, a range, or a comma-separated list of values for a field.

Examples

cluster1::> storage aggregate reallocation schedule -aggregate aggr0 -cron "0 23 6 *"