Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Add-NcJobIntervalSchedule


NAME
Add-NcJobIntervalSchedule

SYNOPSIS
Create a new interval job schedule entry.

SYNTAX
Add-NcJobIntervalSchedule [-Name] <String> [[-Days] <Int64>] [[-Hours] <Int6
4>] [[-Minutes] <Int64>] [[-Seconds] <Int64>] [-Controller <NcController[]>]
[-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Create a new interval job schedule entry.


PARAMETERS
-Name <String>
The name of the interval job schedule to create.

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

-Days <Int64>
The number of days between jobs.

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

-Hours <Int64>
The number of hours between jobs.

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

-Minutes <Int64>
The number of minutes between jobs.

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

-Seconds <Int64>
The number of seconds between jobs.

Required? false
Position? 5
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

-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
DataONTAP.C.Types.Job.JobScheduleIntervalInfo


NOTES


Category: job
API: job-schedule-interval-create
Family: cluster

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

C:\PS>Add-NcJobIntervalSchedule 90minutes -Minutes 90


Add a new interval schedule that runs every 90 minutes.


Days : 0
Hours : 1
Minutes : 30
Seconds : 0
NcController : cerebus
JobScheduleDescription : Every 1h30m
JobScheduleIntervalDays : 0
JobScheduleIntervalHours : 1
JobScheduleIntervalMinutes : 30
JobScheduleIntervalSeconds : 0
JobScheduleName : 90minutes
JobScheduleIntervalDaysSpecified : True
JobScheduleIntervalHoursSpecified : True
JobScheduleIntervalMinutesSpecified : True
JobScheduleIntervalSecondsSpecified : True



RELATED LINKS
Get-NcJobIntervalSchedule
Remove-NcJobIntervalSchedule
Set-NcJobIntervalSchedule







 Data ONTAP® PowerShell Toolkit