Open RomyxBaps opened 3 years ago
@RomyxBaps I got the same problem. You need to convert your password to base64 by yourselves. You can edit the crontab with crontab -e
and replace your password parameter with a base64 string.
@RomyxBaps @michaeleekk Could one of you show me what your crontab looks like?
What's wrong with mine?
12 3 1,3,5 docker run --network host loblab/selenium:debian ${dXXXXXX} ${GXXXXXX} ${1} ${2}
@geepy123456790123 you shouldn’t have the ${} in your crontab, unless you set the username and password in the environment variable. So if your username is “abcde” and password is “hello”, your docker command is,
docker run --network host loblab/selenium:debian abcde Gaiendk= 2
and you might want to run the docker command manually in the shell once first, to make sure that the command works, and then paste the command back to crontab.
For the password, you need to encode with base64 first,
echo hello | base64
Hello,
here is my problem, I can't launch docker run with my credentials variable. I have an error on 'utf-8' and no file for /usr/local/bin/noip-renew-skd.sh :
What's the solution ?