Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

Subscribing to job logs doesn't return any logs #154

Open
LeeSmet opened this issue Apr 11, 2019 · 2 comments
Open

Subscribing to job logs doesn't return any logs #154

LeeSmet opened this issue Apr 11, 2019 · 2 comments

Comments

@LeeSmet
Copy link

LeeSmet commented Apr 11, 2019

While subscribing to a job, the subscribtion just returned 1 and exited, not showing any of the expected output

Additional info: The process actually was a container startup process, which immediately died. However it was scheduled to be restarted 5 mins later. All this time the job was still showing up

@muhamadazmy
Copy link

Can u show me how do u subscribe to the job ? (actual client calls)

Just to clarify things, a recurring job will always show up in the job listing. A job, then will start the process on time.

@LeeSmet
Copy link
Author

LeeSmet commented Apr 15, 2019

container.client.subscribe('tfchaind').stream() where container is the container object and 'tfchaind' is the ID of the job I am subscribing to.

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

No branches or pull requests

2 participants