# mistralclient.commands.v2.cron_triggers module

class mistralclient.commands.v2.cron_triggers.Create(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Create new trigger.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.cron_triggers.Create (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class mistralclient.commands.v2.cron_triggers.CronTriggerFormatter

  Bases: `MistralFormatter`

  COLUMNS = [('name', 'Name'), ('workflow_name', 'Workflow'), ('workflow_params', 'Params'), ('pattern', 'Pattern'), ('next_execution_time', 'Next execution time'), ('remaining_executions', 'Remaining executions'), ('created_at', 'Created at'), ('updated_at', 'Updated at')]
  static format(trigger=None, lister=False)

class mistralclient.commands.v2.cron_triggers.Delete(app: _app.App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `Command`

  Delete trigger.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.cron_triggers.Delete (WARNING)>
  take_action(parsed_args)

    Override to do something useful.

    The returned value will be returned by the program.

class mistralclient.commands.v2.cron_triggers.Get(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `ShowOne`

  Show specific cron trigger.

  get_parser(prog_name)

    Return an `argparse.ArgumentParser`.

  log: logging.Logger = <Logger mistralclient.commands.v2.cron_triggers.Get (WARNING)>
  take_action(parsed_args)

    Run command.

    Return a tuple containing the column names and an iterable containing the data to be listed.

class mistralclient.commands.v2.cron_triggers.List(app: App, app_args: Namespace | None, cmd_name: str | None = None)

  Bases: `MistralLister`

  List all cron triggers.

  log: logging.Logger = <Logger mistralclient.commands.v2.cron_triggers.List (WARNING)>

this page last updated: 2026-02-27 11:59:49

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug