I capture the output of the certbot command…
$cmd1= ‘certbot certificates >’ . $Certs_txt;
$opS1 = exec($cmd1, $op1, $retval1);
gjLog('cmd1 ’ . $cmd1 . " op1\n" . print_r($op1,1) . "\niretval1 " . $iretval1 . ’ opS1 ’ . $opS1 . PHP_EOL);
This command failed twice yesterday. It also succeeded twice.
Output file created is 30,000 lines 190kb.
I am confused. What could happen to make this fail? Also, it has run nightly for 1 year, without a failure?