Create

Run a one-off non-interactive background task in an ephemeral container with the given command

tapit create task 'background command here' [-w|--wait] [memory|cpu|docker_tag|image|max_hours|initiated_by|ephemeral_storage_gb]=value

Arguments

  • ‘background command here’ - The command to run in the container

Parameters

  • memory: Memory allocation in GB (default: 2)
  • cpu: CPU allocation in vCPUs (default: 1)
  • docker_tag: Docker image tag to use (optional, overrides latest deployed)
  • image: Custom Docker image URI to use (optional, overrides docker_tag)
  • max_hours: Maximum runtime in hours before the task is killed (default: 48)
  • initiated_by: Name of the person or system that initiated the task
  • ephemeral_storage_gb: Ephemeral storage size in GB (default: 20)
  • -w|--wait: Wait for the task to finish and stream its exit status