So I have just about finished up the work on restarting. Auto starting programmes on boot etc.
To me this is one of the beauties of the Raspberry Pi and linux.
I have often wanted to use Cron - a system where by we can make certain functions take place at a certain time. There are occasions when my music server loses its authentication to google music which is remedied through a restart. I have now set my system to restart at 4.30 am which should fix this. Tutorial here
The editing of the file wasn't to difficult see here
Initiate the process with this command which means that you will be editing for the root user.
sudo crontab -e
The line I added is below
30 4 * * * /sbin/shutdown -r now
30 mins
4 am
* every day of month 1-31
* every week of month
* every day mon-sun
When it is 30 mins past 4 the system restarts
Next Cron jobs will be
- incremental backup of work google drive with rotations
- backup of pi hardrive to mirror drive
- back up of pi sd card
- initiate time lapse photography of plant (may be other programme is better)

