ich möchte in einem per cronjob über lynx ausgeführtem PHP-Script (scripta.php) mit system oder exec-Befehl wieder über lynx ein weiteres PHP-Script (sriptb.php) ausführen:
Code: Select all
in 'scripta.php'
<?php
system ("/usr/bin/lynx -auth=user:pw -dump http://domain.tld/verzeichnis/scriptb.php");
?>Code: Select all
in 'scripta.php'
<?php
$command = "/usr/bin/lynx -auth=user:pw -dump http://domain.tld/verzeichnis/scriptb.php";
exec($command,$a,$b);
?>Rückgabestatus ($b) beim exec-befehl ist 126 - was bedeutet das?
Was mach ich falsch?
Wäre schön, wenn mir jemand helfen könnte.
Gruß
klaks