You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Following #70 ... posting here (expecting some help)
I'd like to run using a docker-compose file a simple script at periodic time interval
I did the following for testing (and compare job-exec and job-run)
with nginx it's working fine as the server is always waiting...(and container is always running) so
job-execis appropriate for that purposeOn the other side I want to run
date +'%Y-%m-%dT%H:%M:%SZevery 5s using alpine image.In this example I want to run a command inside of a new container, using a specific image so
job-runseems to be appropriatedbut in this example command is only run one time... not every 5 seconds.
I don't understand what I did wrong (I'd prefer not to use config file... just labels in docker-compose)
I wonder if... for alpine example I should really put labels in alpine service or if it should be done on chadburn service.
Some help will be very nice!
Kind regards
All reactions