“stdin: is not a tty” from cronjob
I'm getting the following mail every time I execute a specific cronjob. The called script runs fine when I'm calling it directly and even from cron. So the message I get is not an actual error, since the script does exactly what it is supposed to do. Here is the cron.d entry: * * * * * root /bin/bash -l -c "/opt/get.sh > /tmp/file" and the get.sh script itself: #!/bin/sh #group and url groups="foo" url="https://somehost.test/get.php?groups=${groups}" # encryption pass='bar' method='aes-256-xts' pass=$(echo -n $pass | xxd -ps | sed 's/[[:xdigit:]]\{2\}/&/g') encrypted=$(wget -qO- ${url})