mirror of
https://github.com/nxshock/gron.git
synced 2024-11-27 03:41:00 +05:00
Some README format
This commit is contained in:
parent
87dcffda99
commit
c9ccff9ed6
@ -7,9 +7,9 @@
|
|||||||
1. Create `jobs.d` directory
|
1. Create `jobs.d` directory
|
||||||
2. Create job config in `jobs.d/job1.conf` ([TOML](https://en.wikipedia.org/wiki/TOML) format):
|
2. Create job config in `jobs.d/job1.conf` ([TOML](https://en.wikipedia.org/wiki/TOML) format):
|
||||||
```toml
|
```toml
|
||||||
Cron = "* * * * *" # cron instructions
|
Cron = "* * * * *" # cron instructions
|
||||||
Command = "echo Hello" # command to execute
|
Command = "echo Hello" # command to execute
|
||||||
Description = "print Hello every minute" # job description
|
Description = "print Hello every minute" # job description
|
||||||
```
|
```
|
||||||
3. Launch `go-cron` binary
|
3. Launch `go-cron` binary
|
||||||
4. HTTP interface available on http://127.0.0.1:9876
|
4. HTTP interface available on http://127.0.0.1:9876
|
||||||
|
Loading…
Reference in New Issue
Block a user