How can i reboot the system every day at the same time, i configured a cron job, it works only one time, after reboot the system, the cron job is delete by the system.
I don't know this poster's reason, but more than one of my clients has the requirement to reboot their servers on a weekly basis, and one to reboot daily. This is part of their protocols required for specific qualification compliance.
I use VPN tunneling through the web to other one and if the astaro get a new IP after 24 hours, my VPN connection do not reconnect sometimes and this is a problem.
I edit /etc/crontab and /etc/wfe/link/crontab with an string to /sbin/reboot
it works only one time and after the Astaro reboot, my changes are remove.
[ QUOTE ] I use VPN tunneling through the web to other one and if the astaro get a new IP after 24 hours, my VPN connection do not reconnect sometimes and this is a problem.
I edit /etc/crontab and /etc/wfe/link/crontab with an string to /sbin/reboot
it works only one time and after the Astaro reboot, my changes are remove.
[/ QUOTE ]
If I understand you correctly, you are rebooting to renew your DHCP lease so that you are not assigned a new one? If that is correct, you can achieve this with less drastic measures. If you issue a dhcpcd interface.
However normally an interface that is normally online will automaticlly renew its interface. So I am not sure that rebooting would prevent you from acquiring a different ip.
However as others stated you need to edit the crontab.static file.