fcrontab and script command nonexecution
Evan Dower
evantd at hotmail.com
Mon Aug 11 22:09:52 PDT 2003
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. Also please let me know if anyone else gets
these symptoms with this setup.
Thanks,
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
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
More information about the freebsd-ports
mailing list