Exucuting a cron job by root rusults in the following eror:
top: tcgetattr() failed: Inappropriate ioctl for device
The script is under a user name and runs fine from the command line.
The script runs "top -bn1", then totals the %memory used and appends
to a file.