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[]>] [<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 clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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
DataONTAP.C.Types.Job.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