All Questions
2 questions
0
votes
1
answer
554
views
tput in a cron job does not output bolded text [duplicate]
I comeback with a very strange behavior
when we run this command on Linux redhat machine
echo "$(tput bold)" start write to log "$(tput sgr0)" >> /tmp/log.txt
we get ended bold text in /tmp/...
8
votes
2
answers
4k
views
tput: No value for $TERM and no -T specified
I am trying to run a bash script I have via cron, and I am getting the following error at the beginning of the execution:
tput: No value for $TERM and no -T specified
Here is what is in my crontab:
...