VPlex:如何在 VPlex 上添加和修改计划作业

Sommaire: 本文将帮助您在 VPlex 上添加和修改计划作业

Cet article s’applique à Cet article ne s’applique pas à Cet article n’est lié à aucun produit spécifique. Toutes les versions de produits ne sont pas identifiées dans cet article.

Instructions

使用服务帐户凭据执行此活动

 

请按照以下说明添加或修改计划作业。

  1. 登录到 VPlex CLI 

service@ManagementServer:~> vplexcli
VPlexcli:/>

  1. 要检查现有的“计划列表”,请运行“计划列表”命令。

    VPlexcli:/> schedule list
    [0] * * * * * version --all
    [1] 29 15 * * 3 syrcollect

 

要将作业添加到计划,请执行以下作:

 

  1. 要将新作业添加到计划,请使用以下命令

    VPlexcli:/>schedule add -t “<Minute><Hour, <> Day of the Month, <>><Day of the week>”-c “new job name” 

           

其中:
<分钟>是 (0 - 59),<
小时>是 (0 - 23),<
月>中的某一天是 (1 - 31),<
月份>是 (1 - 12),其中 1 月 = 1,...,十二月 = 12
星期几 - 0-6,星期日 = 0...星期六 = 6

例如,要在每天凌晨 01:00 运行 “cluster summary”命令,请执行以下命令之一:

VPlexcli:/> schedule add -t “0 1 * * *” -c “cluster summary”
New job scheduled
.

VPlexcli:/> schedule list
[0] * * * * * version –all
[1] 29 15 * * 3 syrcollect
[2] 0 1 * * * cluster summary <<<
newly add job
 

要修改作业计划,请执行以下作:

 

  1. 要修改计划作业,请使用以下命令:
    以字符串形式输入作业的新时间。

 

例如,要修改 ID 为 2 的作业,使其每天凌晨 04:00 运行,

VPlexcli:/>schedule modify <job id> -t “<Minute <> Hour><Day of the Month <> Month <> Day of the week>” -c “<job name>”

 
示例:
列出计划运行:

VPlexcli:/>schedule list[0] * * * * * version --all
[1] 29 15 * * 3 syrcollect
[2] 0 1 * * * cluster summary <<<

 
要更改运行

时间的作业Modify job id [2]:
VPlexcli:/>schedule modify 2 -t “0 4 * * *” -c “cluster summary” 
Job 1 modified.

列出正在运行的计划,以查看作业 ID [2] 的更改是否针对新的运行时进行了更新:
VPlexcli:/> schedule list
[0] * * * * * version --all
[1] 29 15 * * 3 syrcollect
[2] 0 4 * * * cluster summary <<<
您会看到从 1 到 4 的小时变化


您可以参考 KBA:000038636 重新配置元数据备份并在计划列表中查看它。

Produits touchés

VPLEX
Propriétés de l’article
Numéro d’article: 000019484
Type d’article: How To
Dernière modification: 21 nov. 2025
Version:  5
Obtenez des réponses à vos questions auprès d’autre utilisateurs de Dell
Services de soutien
Vérifiez si votre appareil est couvert par les services de soutien.