[SATLUG] help with webadmin and a scheduled chron job

John D Choate jdchoate at gmail.com
Fri May 22 20:28:03 CDT 2009


On Friday 22 May 2009 19:42:12 Todd W. Bucy wrote:
> I wrote a nifty little script that runs various sytem reports and
> outputs the data to a html document.  I know that the code is good as I
> have tested it several times at the command line.  I am using webadmin
> for most of my administrative tasks on my home server and am therefore
> trying to set the job to run daily at midnight under the Scheduled Chron
> Jobs tab.  Problem is when I test the command
> "~/scripts/system_report.sh"  I get the following output:
> "Output from command /home/redpill-master/scripts/system_report.sh ..
> TERM environment variable not set."
> 
> can someone point me in the right direction? 
> 
> thanks
> Todd
> 
> 

On second thought, did you include the following at the beginning of your script?

#!/bin/bash

That may be it.


More information about the SATLUG mailing list