Code:
Check_cam_status
This crond script will check the status of your cam.
If it has been stopped for an unknown reason at the
time that you have choosen it will make it up again!
You have simple to edit these lines:
[The name of the cam here]
and
[add here the name of cam.bin]
Delete "[" and "]" and write the name of the cam that you want to check.
That's all.
Thx to karletto66 for info.