Skip to content Skip to sidebar Skip to footer

Unable To Execute .sh File In Crontab Docker

I am working on a project which is on Docker, Crontab, Python & CentOS. I have a requirement to read docker compose environment variables in Python script. I have the below Doc

Solution 1:

In cron.d, you need to specify the user:

** ** * root /usr/bin/sh /opt/Importer/ShellWrapper.sh

See also: similar questions on using the cron.d folder

Post a Comment for "Unable To Execute .sh File In Crontab Docker"