Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcJobCronSchedule


NAME
Set-NcJobCronSchedule

SYNOPSIS
Modify an existing cron job schedule entry.

SYNTAX
Set-NcJobCronSchedule [-Name] <String> [-Month <Int64[]>] [-Day <Int64[]>] [
-DayOfWeek <Int64[]>] [-Hour <Int64[]>] [-Minute <Int64[]>] [-Controller <Nc
Controller[]>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Modify an existing cron job schedule entry.


PARAMETERS
-Name <String>
The name of the cron job schedule to modify.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Month <Int64[]>
The month(s) when the job should be run.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Day <Int64[]>
The day(s) of the month when the job should be run.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-DayOfWeek <Int64[]>
The day(s) in the week when the job should be run.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Hour <Int64[]>
The hour(s) of the day when the job should be run.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Minute <Int64[]>
The minute(s) of each hour when the job should be run.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.C.Job810.JobScheduleCronInfo


NOTES


Category: job
API: job-schedule-cron-modify
Family: cluster

-------------- Example 1 --------------

C:\PS>Set-NcJobCronSchedule 15min -DayOfWeek 1,3,5


Modify the cron schedule entry to only run three days per week.


JobScheduleName JobScheduleDescription
--------------- ----------------------
15min Mon,Wed,Fri@:00,:15,:30,:45



RELATED LINKS
Get-NcJobCronSchedule
Add-NcJobCronSchedule
Remove-NcJobCronSchedule







 Data ONTAP® PowerShell Toolkit