====== Restart Deeplens cameras automatically ====== * Access the deeplens camera via Anydesk. * crontab –e * Add the cron job line: " 59 05 * * * sudo /sbin/shutdown -r > /home/aws_cam/cronError.log 2>&1 " to schedule restarting the camera every day at 00:00 CST/06:00 UTC. * Save and exit crontab. * Go to terminal : sudo visudo * Add the line "aws_cam ALL=(ALL)NOPASSWD:/sbin/shutdown" in visudo so deeplens cameras can restart daily without requesting password. * Save and exit visudo.