|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Service with perl in argv
From: mouss (mlist.only
free.fr)
Date: Wed Jul 04 2007 - 03:35:46 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Danny Kj?rgaard wrote:
> I made an perl script that wirtes to a file just to make sure that the perl
> script is executed.:
> #!/usr/bin/perl
> $var = `echo 123 > tmp.log`;
>
you're adding complexity here. how do we know where tmp.log is and
whether the script can write too...
use /tmp/test.log or the like. (before each test, remove this file).
try
# su vacation
$ ./yourscript
and see what it does. if it works, call the script from postfix and see
what it does.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]