how can i know that cronjob work status

how can i know that cronjob work status(like completed or throws any error)

Put some log file logic in your cronjob script.

Modify the cron entry to be like the following (the * characters are the normal timing entries)

          • /usr/local/script.sh 1>/usr/local/script.log 2>/usr/local/scripter.log

the 1> pipes the normal outputs to the action log and the 2> pipes the errors to the error log of the script.