Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.46 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.46 KB

Shigoto

GoDoc Go Report Card License

A nextgen crontab. It's a Golang alternative of crontab heavily inspired of Taskfile templating mechanism.

Technologies / Frameworks

Shigoto file

File must be in the folder defined by the directive directory from Shigoto configuration file.

variables:
  MY_VAR: value1

environment:
  MY_VAR: "{{.MY_VAR}}"

shigoto:
  "Do something":
    schedule: "@every 10s"
    workdir: /tmp
    logs_file: /tmp/trololo.log
    variables:
      MY_VAR: value2
    commands:
      - touch {{.MY_VAR}}.txt

More documentation.

License

MIT

Contributing

All PRs are welcome.

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request