Re: Brauche Hilfe bei Mini-Batchprogramm

Michael Wenger <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Moin,

Bodo Kaelberer schrieb am 18.11.2005 00:02:

> u36237399:~/projekte/insiteme > ./start_scanner.cmd
> bash: ./start_scanner.cmd: No such file or directory
> 
> u36237399:~/projekte/insiteme > cat ./start_scanner.cmd
> #!/bin/sh
> unset SCRIPT_FILENAME
> /usr/local/bin/php /kunden/homepages/6/d99991284/htdocs/projekte/insiteme/test_c
> alled.php "$1" > x.txt

Du stimmst mir hoffentlich zu, dass obiges nicht am Script liegen kann. 
Gegenbsp.:

webserver:/tmp# ./start_scanner.cmd
./start_scanner.cmd: line 3: /usr/local/bin/php: No such file or directory
webserver:/tmp# cat ./start_scanner.cmd
#!/bin/sh
unset SCRIPT_FILENAME
/usr/local/bin/php 
/kunden/homepages/6/d99991284/htdocs/projekte/insiteme/test_called.php 
"$1" > x.txt
webserver:/tmp# ls -l ./start_scanner.cmd
-rwx------  1 root root 135 Nov 18 15:04 ./start_scanner.cmd

Ja, die obige Fehleremeldung ist vollkommen ok, da php bei mir an diesem 
Ort nicht zu finden ist.

Michael

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfÃŒgbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.