A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Does anyone know how to reboot droplet using cron job for every 6 hours ?
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
# sudo crontab -e
and there you have to make the following new entry (in a new line):
* */6 * * * root /sbin/shutdown -r now