PBX maintenance and tasks

Design, test and implement a script that restarts the PABX on a weekly basis. If you have any ideas about the script, please let me know. So much Thanks ~~~

I’m interested in one more (strictly Linux) thing, how to check CPU usage on hourly, daily, weekly… basics? And how to be sure that HDD won’t brake down next week? What are the temperatures of my motherbord, CPU and my harddrives?