Skip to content

Types

CommonCrons

Source code in python/scouter/types/_types.pyi
class CommonCrons:
    Every1Minute: "CommonCrons"
    Every5Minutes: "CommonCrons"
    Every15Minutes: "CommonCrons"
    Every30Minutes: "CommonCrons"
    EveryHour: "CommonCrons"
    Every6Hours: "CommonCrons"
    Every12Hours: "CommonCrons"
    EveryDay: "CommonCrons"
    EveryWeek: "CommonCrons"

    @property
    def cron(self) -> str:
        """Return the cron"""

    def get_next(self) -> str:
        """Return the next cron time"""

cron property

Return the cron

get_next()

Return the next cron time

Source code in python/scouter/types/_types.pyi
def get_next(self) -> str:
    """Return the next cron time"""