Update README.md (#37)

In the Examples section, added an expression for every minute and a note providing a comment on the expression formatting.
This commit is contained in:
Dr. Nicholas J. Kinar 2024-07-31 02:57:29 -06:00 committed by GitHub
parent 41f238ceb0
commit 7c7d290792
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,11 +188,16 @@ the '?'-character to ensure that it is not possible to specify a statement which
|Expression | Meaning
| --- | --- |
| * * * * * ? | Every second
| 0 * * * * ? | Every minute
| 0 0 12 * * MON-FRI | Every Weekday at noon
| 0 0 12 1/2 * ? | Every 2 days, starting on the 1st at noon
| 0 0 */12 ? * * | Every twelve hours
| @hourly | Every hour
Note that the expression formatting has a part for seconds and the day of week.
For the day of week part, a question mark ? is utilized. This format
may not be parsed by all online crontab calculators or expression generators.
## Convenience scheduling
These special time specification tokens which replace the 5 initial time and date fields, and are prefixed with the '@' character, are supported: