# Module `netapp_ontap.models.schedule_cron`

Copyright © 2023 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

## Classes

`class ScheduleCronSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)`

  The fields of the ScheduleCron object

  ### Ancestors

  - netapp_ontap.resource.ResourceSchema
  - marshmallow.schema.Schema
  - marshmallow.base.SchemaABC

  ### Class variables

  `days: List[Size] GET POST PATCH`

    The days of the month the schedule runs. Leave empty for all.

  `hours: List[Size] GET POST PATCH`

    The hours of the day the schedule runs. Leave empty for all.

  `minutes: List[Size] GET POST PATCH`

    The minutes the schedule runs. Required on POST for a cron schedule.

  `months: List[Size] GET POST PATCH`

    The months of the year the schedule runs. Leave empty for all.

  `weekdays: List[Size] GET POST PATCH`

    The weekdays the schedule runs. Leave empty for all.