Skip to content

Commit

Permalink
docs(serverless_jobs): add documentation for command, timezone and sc…
Browse files Browse the repository at this point in the history
…hedule fields (scaleway#3749)

Co-authored-by: Mia-Cross <lmarabese@scaleway.com>
  • Loading branch information
2 people authored and Laure-di committed Apr 16, 2024
1 parent 855eb5c commit d33ab52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARGS:
memory-limit Memory limit of the job (in MiB)
[local-storage-capacity] Local storage capacity of the job (in MiB)
[image-uri] Image to use for the job
[command] Startup command
[command] Startup command. If empty or not defined, the image's default command is used.
[project-id] Project ID to use. If none is passed the default project ID will be used
[environment-variables.{key}] Environment variables of the job
[description] Description of the job
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ scw jobs definition create [arg=value ...]
| memory-limit | Required | Memory limit of the job (in MiB) |
| local-storage-capacity | | Local storage capacity of the job (in MiB) |
| image-uri | | Image to use for the job |
| command | | Startup command |
| command | | Startup command. If empty or not defined, the image's default command is used. |
| project-id | | Project ID to use. If none is passed the default project ID will be used |
| environment-variables.{key} | | Environment variables of the job |
| description | | Description of the job |
Expand Down
2 changes: 1 addition & 1 deletion internal/namespaces/jobs/v1alpha1/jobs_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func jobsDefinitionCreate() *core.Command {
},
{
Name: "command",
Short: `Startup command`,
Short: `Startup command. If empty or not defined, the image's default command is used.`,
Required: false,
Deprecated: false,
Positional: false,
Expand Down

0 comments on commit d33ab52

Please sign in to comment.