I set up the cron to access to the python environment.
pyenv shell ammt-crawler is work find in command line
this is my init.sh file
#!/usr/bin/env bash
export PATH="${HOME}/.pyenv/scripts:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv shell ammt-crawler
but log saying that it can not find the pyenv command
./scripts/init.sh: line 4: pyenv: command not found
./scripts/init.sh: line 5: pyenv: command not found
./scripts/init.sh: line 7: pyenv: command not found
what is the problem?