Skip to content

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

New issue

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

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

Already on GitHub? # to your account

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

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

No branches or pull requests

2 participants