A nextgen crontab. It's a Golang alternative of crontab heavily inspired of Taskfile templating mechanism.
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.
MIT
All PRs are welcome.
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request