Crontab - How to verify a PHP script Runs Successfully or not in a Cronjob Shell Script?
You can run the following
$ echo $?
If you get 0
meaning is OK, a other value over 0 is not ok.
($?) Expands to the exit status of the most recently executed foreground pipeline.