@Keromida The raspbian os is a linux derivative and includes cron which is used to schedule things.
You can tell it to do things through your crontab.
When you log on to your pi issue the crontab -e command. The first time it will ask you which editor to use… chose the default if you’re not sure.
You’ll be greeted by something like this:
# # To define the time you can provide concrete values for # minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').# # Notice that tasks will be started based on the cron's system # daemon's notion of time and timezones. # # Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected). # # For example, you can run a backup of all your user accounts # at 5 a.m every week with: # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ # # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command 00 23 * * * /usr/bin/tvservice -o 00 06 * * * /usr/bin/tvservice -pYou’ll have to add the two lines at the bottom which, in this example, will turn the mirror off at 2300 (11pm) and on again at 0600.
Save the file, and when asked yes you’re sure, and exit the editor… all done!