diff --git a/dockerfiles/commul-customization/entrypoint.sh b/dockerfiles/commul-customization/entrypoint.sh index fe0ca4601cd017ac0f5e73d291b9a78ac53a44f2..5587f7922e045309870d91146a866b17ac64d5c4 100644 --- a/dockerfiles/commul-customization/entrypoint.sh +++ b/dockerfiles/commul-customization/entrypoint.sh @@ -20,13 +20,13 @@ make init_statistics # https://ubuntuforums.org/showthread.php?t=979694 # Start process in the background and send its output to file descriptor 3 exec 3< <(while (true); do - make update_oai - make update_statistics - make update_sitemap - make lift_embargos - make update_openaire_cache - make update_discovery - make send_info + timeout -k 30 300 make update_oai + timeout -k 30 300 make update_statistics + timeout -k 30 300 make update_sitemap + timeout -k 30 300 make lift_embargos + timeout -k 30 300 make update_openaire_cache + timeout -k 30 300 make update_discovery + timeout -k 30 300 make send_info echo "INIT DONE." sleep 86400 done)