Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2003 21:56:41 -0700
From:      "Evan Dower" <evantd@hotmail.com>
To:        ports@freebsd.org
Subject:   fcrontab and script command nonexecution
Message-ID:  <BAY8-F93o0oZQO6UKR6000445c9@hotmail.com>

next in thread | raw e-mail | index | archive | help
I wrote a script to do a -current build (and it works from the command 
line), but when I put it in my fcrontab, the calls to script don't seem to 
call their command argument. Any input would be greatly appreciated. A 
simplified scenario follows.
Thanks in advance,
Evan Dower
Undergraduate, Computer Science
University of Washington

fcrontab contains:
#
#minute hour    mday    month   wday    who     command
#
!mail(0)
#
&mail(1)	*	*	*	*	*		/home/evantd/testscript

/home/evantd/testscript contains:
#!/bin/sh
script /home/evantd/testscriptresult.txt echo "testscript run successfully"

the mail I receive and /home/evantd/testscriptresult.txt both contain:
Script started on Fri Aug  8 20:48:00 2003

Script done on Fri Aug  8 20:48:00 2003

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY8-F93o0oZQO6UKR6000445c9>