docker-crontab icon indicating copy to clipboard operation
docker-crontab copied to clipboard

Add CRONTAB_PROJECT to environment

Open roverwolf opened this issue 3 years ago • 1 comments

  • add environment substitution for the project field
  • add a CRONTAB_PROJECT environment variable to allow reference to the project that the crontab container is running in

This will allow the project name in the crontab file to be "$CRONTAB_PROJECT" which will get replaced by the project that is running the crontab container.

Related to https://github.com/willfarrell/docker-crontab/issues/38

roverwolf avatar Jan 22 '21 18:01 roverwolf

This works perfectly for me, thank you!

kgiglia avatar Feb 08 '21 02:02 kgiglia