I want to write shell or perl code which would give me notification after x days. Basically on SUSE Linux server, there is reboot required after 208 days, else the system would freeze. This is known bug. So in order to avoid this, I want notification mail coming to me before 8 days something like that....just an alert..
The script has to check the current uptime and then calculate the remaining days required for total 208 days. Hope this makes sense.