I have a php script that works as long as the internet is on. When problems occur, it exits with code 1.
the code in windows looks like this:
:start php myScript.php IF %ERRORLEVEL% NEQ 0( ECHO "BAD EXECUTION, RESTARTING..." GOTO start) I am looking for the equivalent script for linux?
until)