Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tput: No value for $TERM and no -T specified #5

Open
deedy-tech opened this issue Feb 19, 2021 · 1 comment
Open

tput: No value for $TERM and no -T specified #5

deedy-tech opened this issue Feb 19, 2021 · 1 comment

Comments

@deedy-tech
Copy link

Hi
Firstly thanks for creating this tool, I find it really useful.

I am running the following command as a nightly cronjob on my Ubuntu 20.04 box and I get the following output

/usr/local/bin/mage2-backup --backup-code --skip-media --use-mysql-config --src-dir=/var/www/html --dest-dir=/S3/backups/LIVE/CODE/

tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified

Cheers
Rob

@IanFiretoys
Copy link

IanFiretoys commented Jan 26, 2022

hi, this is an error being generated by the crontab rather than the backup script:
see here https://stackoverflow.com/questions/29979966/tput-no-value-for-term-and-no-t-specified-error-logged-by-cron-process#:~:text=If%20no%20%24TERM%20variable%20is,like%20xterm%20)%20in%20the%20crontab.

you can add TERM=dumb or whatever terminal you prefer to your cron command to get rid of it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants