Skip to content

Commit

Permalink
Update documentation of job name requirements to include periods
Browse files Browse the repository at this point in the history
  • Loading branch information
carroux committed Sep 11, 2015
1 parent 0eab5d8 commit bd45e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ You can manually start a job by issuing an HTTP request.
The heart of job scheduling is a JSON POST request.
The JSON hash you send to Chronos should contain the following fields:

* `name`: The job name. Must contain at least one character and may only contain letters (`[a-zA-Z]`), digits (`[0-9]`), dashes (`-`), underscores (`_`), number signs (`#`), and whitespace (`[ \t\n\x0B\f\r]`). Must match the following regular expression: `([\w\s#_-]+)`
* `name`: The job name. Must contain at least one character and may only contain letters (`[a-zA-Z]`), digits (`[0-9]`), dashes (`-`), underscores (`_`), number signs (`#`), periods (`.`), and whitespace (`[ \t\n\x0B\f\r]`). Must match the following regular expression: `([\w\s\.#_-]+)`
* `command`: The actual command that will be executed by Chronos
* `schedule`: The scheduling for the job, in [ISO 8601][] format. Consists of 3 parts separated by `/`:
* The number of times to repeat the job: `Rn` to repeat `n` times, or `R` to repeat forever
Expand Down

0 comments on commit bd45e8f

Please sign in to comment.