class_docstr: Generates cron expression strings for the SageMaker Model Monitoring Schedule API.
docstr: Generates "daily every x hours" cron expression.
  
  That denotes that a job runs every day at the specified hour, and then every x hours,
  as specified in hour_interval.
  
   Example:
       >>> daily_every_x_hours(hour_interval=2, starting_hour=0)
       This will run every 2 hours starting at midnight.
  
       >>> daily_every_x_hours(hour_interval=10, starting_hour=0)
       This will run at midnight, 10am, and 8pm every day.
  
  Args:
      hour_interval (int): The hour interval to run the job at.
      starting_hour (int): The hour at which to begin in HH24 format (UTC).
  
  Returns:
      str: The cron expression format accepted by the Amazon SageMaker Model Monitoring
          Schedule API.
docstr_tok: ["Generates","``","daily","every","x","hours","''","cron","expression",".","That","denotes","that","a","job","runs","every","day","at","the","specified","hour",",","and","then","every","x","hours",",","as","specified","in","hour_interval",".","Example",":",">",">",">","daily_every_x_hours","(","hour_interval=2",",","starting_hour=0",")","This","will","run","every","2","hours","starting","at","midnight",".",">",">",">","daily_every_x_hours","(","hour_interval=10",",","starting_hour=0",")","This","will","run","at","midnight",",","10am",",","and","8pm","every","day",".","Args",":","hour_interval","(","int",")",":","The","hour","interval","to","run","the","job","at",".","starting_hour","(","int",")",":","The","hour","at","which","to","begin","in","HH24","format","(","UTC",")",".","Returns",":","str",":","The","cron","expression","format","accepted","by","the","Amazon","SageMaker","Model","Monitoring","Schedule","API","."]
code: def daily_every_x_hours(hour_interval, starting_hour=0):
      """Generates "daily every x hours" cron expression.
  
      That denotes that a job runs every day at the specified hour, and then every x hours,
      as specified in hour_interval.
  
       Example:
           >>> daily_every_x_hours(hour_interval=2, starting_hour=0)
           This will run every 2 hours starting at midnight.
  
           >>> daily_every_x_hours(hour_interval=10, starting_hour=0)
           This will run at midnight, 10am, and 8pm every day.
  
      Args:
          hour_interval (int): The hour interval to run the job at.
          starting_hour (int): The hour at which to begin in HH24 format (UTC).
  
      Returns:
          str: The cron expression format accepted by the Amazon SageMaker Model Monitoring
              Schedule API.
  
      """
      return "cron(0 {}/{} ? * * *)".format(
          starting_hour, hour_interval
      )
  
imports: from __future__ import print_function, absolute_import
label_desc: Use image node_id 3 for calling the CronExpressionGenerator obj's underlying member method code with example usage: obj.daily_every_x_hours(hour_interval, starting_hour) and returns: str