StarDot Knowledge Base

Can I stop my NetCam or Express server from auto-rebooting every night?

Article ID: 144
Last updated: 11 Jun, 2020

Yes. To do this you will need to manually change a config file within the camera.

1. Log into your camera configuration
2. Click on the Advanced Tab.
3. Click on Manual Config Tab.
4. Within this page there will be a config file called crontab in the list.
5. Highlight this and click the Edit button.

You will need to change this line:

0 0 * * * admin /bin/reboot -d 60

6. You can simply put a # at the beginning of the line, this will disable it as a command. Then if you ever need to re-enable it, you can remove the hash ( # ).

The line should look like this:

#0 0 * * * admin /bin/reboot -d 60

Or you can have the camera reboot once a week instead (this example reboots at 12:01am every Monday):

0 0 * * 1 admin /bin/reboot -d 60

7. Click Apply.
8. Return to the Advanced / Manual Config page and click Save configuration settings.  

**NOTE**  Step 8 is very important. This will save the changes you made to the camera's internal memory. Otherwise, after a reboot any settings changes would be lost.

For more examples of how crontab scheduling works, search the Internet for "crontab examples".

Article ID: 144
Last updated: 11 Jun, 2020
Revision: 1
Comments: 0
Also listed in