Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Profitez de récompenses et de remises réservées aux membres
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerVault ME4 Series Storage System CLI Guide

PDF

create schedule

Description Schedules a task to run automatically.

You can schedule a replication task on the replication set of the primary system only.

Minimum role manage
Syntax

create schedule

schedule-specification "specification"

task-name task-name

schedule-name

Parameters schedule-specification "specification"
Defines when the task first runs, and optionally when it recurs and expires. You can use a comma to separate optional conditions. Dates cannot be in the past. For times, if AM or PM is not specified, a 24-hour clock is used.
  • start yyyy-mm-dd hh:mm[AM|PM]

    Specifies a date and time to be the first instance when the scheduled task runs, and to be the starting point for any specified recurrence.

  • [every # minutes|hours|days|weeks|months|years]

    Specifies the interval at which the task runs.

    For better performance when scheduling a TakeSnapshot task that runs under heavy I/O conditions or on more than three volumes, the retention count and the schedule interval should be set to similar values. For example if the retention count is 10 then the interval should be set to 10 minutes.

    For a Replicate task, the minimum interval is 30 minutes

  • [between hh:mm[AM|PM] and hh:mm[AM|PM]]

    Constrains the time range during which the task is permitted to run. Ensure that the start time is within the specified time range.

  • [only any|first|second|third|fourth|fifth|last|#st|#nd|#rd|#th day|weekday|weekendday| Sunday|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday of year|month|January|February| March|April|May|June|July|August|September|October|November|December]

    Constrains the days or months when the task is permitted to run. Ensure that this constraint includes the start date.

  • [count #]

    Constrains the number of times the task is permitted to run.

  • [expires yyyy-mm-dd hh:mm[AM|PM]]

    Specifies when the schedule expires, after which the task no longer runs.

task-name task-name

The name of an existing task to run. The name is case-sensitive. A name that includes a space must be enclosed in double quotes.

schedule-name
A name for the new schedule. Input rules:
  • The value is case-sensitive.
  • The value can have a maximum of 32 bytes.
  • The value can include spaces and printable UTF-8 characters except: " , < \
  • A value that includes a space must be enclosed in double quotes.
Examples Create schedule Sched1 that runs Task1 for the first time on March 1, 2018, runs daily between midnight and 1:00 AM, and runs for the last time in the morning of Jan 1, 2019.

# create schedule schedule-specification "start 2018-03-01 00:01, every 1 days, between 12:00 AM and 1:00 AM, expires 2019-01-01 1:00 AM" task-name Task1 Sched1

Create schedule Sched2 that runs Task2 for the first time on March 1, 2019, and on the first weekday of each month, with no expiration.

# create schedule schedule-specification "start 2019-03-01 00:01 only first weekday of month" task-name Task2 Sched2

See also

delete schedule

set schedule

show schedules

show tasks


Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\