We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First thanks for your great work, it a very helpful tool.
I used the docker version, and also tried run jobber in a clean alpine image, it's the same result.
.jobber file
version: 1.4 jobs: Example: cmd: /root/test.sh time: "*" notifyOnSuccess: - type: stdout data: [stdout, stderr]
test.sh
#!/bin/sh echo "hello stdout" echo "hello stderr" >&2
The output result was expected to be
{"job":{"command":"/root/test.sh","name":"Example","status":"Good","time":"* * * * * *"},"startTime":1582677064,"stderr":"hello stderr\n","stdout":"hello stdout\n","succeeded":true,"user":"root","version":"1.4"}
But in fact it outputs(watch the stderr field, same as stdout):
{"job":{"command":"/root/test.sh","name":"Example","status":"Good","time":"* * * * * *"},"startTime":1582677064,"stderr":"hello stdout\n","stdout":"hello stdout\n","succeeded":true,"user":"root","version":"1.4"}
By the way, if I use type: filesystem, it works fine.
type: filesystem
The text was updated successfully, but these errors were encountered:
dshearer
Successfully merging a pull request may close this issue.
First thanks for your great work, it a very helpful tool.
I used the docker version, and also tried run jobber in a clean alpine image, it's the same result.
.jobber file
test.sh
The output result was expected to be
But in fact it outputs(watch the stderr field, same as stdout):
By the way, if I use
type: filesystem
, it works fine.The text was updated successfully, but these errors were encountered: