Skip to main content

lvl app component cron update

Update an existing cron on an app component

lvl app component cron update <app> <component> <cron> [-n <name>] [-s <scedule>] [-c <command>] [flags]

Options

  -c, --command string    The shell command that will be executed when the cron fires.
-h, --help help for update
-n, --name string The name of the new cron
-s, --schedule string The schedule that controls when the cron should fire. Takes the form of a standard POSIX crontab pattern.
--wait Wait for the operation to finish on the API.

Options inherited from parent commands

      --apikey string   API key
--config string config file (default is $HOME/.lvl.yaml)
-o, --output string Specifies output mode for commands. Accepted values are 'text', 'json', 'yaml' or 'id'. (default "text")
--trace Do detailed network request logging. This is intended for debugging and should not be parsed.

SEE ALSO