Skip to content

scheduled-tasks create

apppack scheduled-tasks create

schedule a task

Synopsis

Schedule a command to run on a recurring schedule in the future.

Be sure to wrap your command and schedule in quotes to ensure they are read as a single arguement. The schedule flag should use the AWS cron-like format as described at https://docs.aws.amazon.com/eventbridge/latest/userguide/scheduled-events.html#cron-expressions"

apppack scheduled-tasks create --schedule "<min> <hr> <day-mon> <mon> <day-wk> <yr>" "<command>"

Options

  -h, --help              help for create
  -s, --schedule string   cron-like schedule. See https://docs.aws.amazon.com/eventbridge/latest/userguide/scheduled-events.html#cron-expressions

Options inherited from parent commands

  -a, --app-name string   app name (required)
      --debug             enable debug logging

SEE ALSO