jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

Job schedule not running when using docker container #211

Closed datlq53 closed 6 years ago

datlq53 commented 8 years ago

Dear dev team! I am using docker to run minicron server but when i created a job schedule once per minute there is no execution happen although host connected successfully. Can anyone help me to resolve this problem? Thanks & regards!

jamesrwhite commented 8 years ago

If you log into the container and try and run something manually what do you see?

docker exec -it CONTAINER_ID /bin/bash minicron run --verbose --debug ls

datlq53 commented 8 years ago

hi@jamesrwhite now, i installed minicron successful, but i can not using docker container for client instance. i have two ec2 instances (ubuntu 14.04):

And then i using docker container for client. In docker container: run minicron run --verbose --debug ls -> this execution show on web ui, i update schedule for this job on web ui but it does not run although test connection to docker container is ok it seems there is problem with FQDN in Host settings? In docker container:

screen shot 2016-03-16 at 1 23 28 am

After run in docker container. On web ui:

screen shot 2016-03-16 at 1 24 59 am

Test connection to docker container:

screen shot 2016-03-16 at 1 27 34 am
datlq53 commented 8 years ago

hi @jamesrwhite could you give me any solution to run minicron client on docker container? Thanks and regards.

qerim commented 7 years ago

Same issue. I created a simple job with the command: ls. But it doesn't run. It just says "Job #1 run triggered" when you manually press Run. Test connections shows as fine.

alansoliditydev commented 5 years ago

hey, why close this @jamesrwhite ?

jamesrwhite commented 5 years ago

Hi @TranDinhKhang. I'm no longer maintaining or supporting the pre 1.0 versions as stated here. This issue relates to a part of minicron that is no longer in 1.0