[SATLUG] help with webadmin and a scheduled chron job

Todd W. Bucy toddwbucy at grandecom.net
Sat May 23 08:21:56 CDT 2009


#!/bin/bash is there of course.  As I said before the script runs great
from the command line I just want it to run on a daily basis at a
specific time.

Todd

On Fri, 2009-05-22 at 20:28 -0500, John D Choate wrote:
> 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