Skip to content
New issue

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

Capturing the output of a job-exec using Docker labels? #306

Open
gremo opened this issue Dec 15, 2024 · 0 comments
Open

Capturing the output of a job-exec using Docker labels? #306

gremo opened this issue Dec 15, 2024 · 0 comments

Comments

@gremo
Copy link

gremo commented Dec 15, 2024

Using Docker labels:

labels:
    ofelia.enabled: "true"
    ofelia.job-exec.backup-db.schedule: "@every 15s"
    ofelia.job-exec.backup-db.command: "echo 'hello' > foo.sql"

I'd like to capture the output of the command (i.e. mysqldump command)). I find hard to understand where foo.sql is placed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant