Yoram typed (on Thu, Oct 16, 2003 at 01:38:48PM -0700):
| I added a new task in the Crontab scheduler and everytime it runs I
| get an error "Terminal type not found".
| The task is a shell script I wrote that runs a report generator to
| create a report file (dreport of FilePro). I do redirect all the
| output to /dev/null.
| My question is: Does anyone knows how to set a terminal type for an
| application being run by Cron?
This is a classic filePro problem. None of its modules run without a
TERM setting (any TERM setting will do).
Cron or no cron, you set any variable into the environment of a Bourne
shell command by preceding the command with variable=whatever.
So change your crontab line from
dreport ... ...
TERM=ansi dreport ... ...
Then subscribe to the filePro mailing list:
The procedure to subscribe/unsubscribe to the filepro list is
to send mail to org with commands IN THE BODY
of the e-mail message (subject is ignored). The command to
[un]subscribe filepro-list [optional_e_mail_address]