mysql_backup.cgi and cron

Hi there,

I have a problem I'm not sure how to go about solving. Seems to revolve around cron's user but I'll take any advice I can get.

I'm using Pete Brown's excellent mysql backup script
http://worldcommunity.com/opensourc...sql_backup.html

and it works great from the command line. No problems.

When called from cron though it returns this error:
tput: no terminal type specified and no TERM environmental variable.
/root

root's .profile looks like
# $FreeBSD: src/etc/root/dot.profile,v 1.20 1999/08/27 23:24:09 peter Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
export PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER

I've googled and messed around but been unable to solve the problem.

Can someone give me the lowdown on this error or point me at some materials that will let me connect the dots?

Thanks much!
Iggy

 

 

 

 

Top