Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ First, just install tasker command:
go install github.com/adhocore/gronx/cmd/tasker@latest
```

Or, you can install using mise:

```sh
mise use github:adhocore/gronx@latest
```

Or you can also download latest prebuilt binary from [release](https://github.com/adhocore/gronx/releases/latest) for platform of your choice.

Then prepare a taskfile ([example](./tests/../test/taskfile.txt)) in crontab format
Expand All @@ -213,7 +219,7 @@ tasker -file path/to/taskfile
-file string <required>
The task file in crontab format
-out string
The fullpath to file where output from tasks are sent to
The fullpath to file where output from tasks are sent to (defaults to stderr)
-shell string
The shell to use for running tasks (default "/usr/bin/bash")
-tz string
Expand All @@ -233,9 +239,12 @@ tasker -tz America/New_York -file path/to/taskfile -shell zsh # run all tasks us

> File extension of taskfile for (`-file` option) does not matter: can be any or none.
> The directory for outfile (`-out` option) must exist, file is created by task daemon.
> If `-out` is not provided, both tasker logs and task outputs are sent to `stderr`.

> Same timezone applies for all tasks currently and it might support overriding timezone per task in future release.

> [Here's an example](https://github.com/iloveitaly/dreamhost-dns-updater) of using mise + railpack to run gronx in a docker container

#### Notes on Windows

In Windows if it doesn't find `bash.exe` or `git-bash.exe` it will use `powershell`.
Expand Down