Edit the crontab file
sudo su - #switch to supuer user
crontab -e #edit crontab file
|
Put this line at the end of the file. This will turn off display at 5.30PM and turn on display at 8.30AM
30 17 * * * tvservice -o 30 8 * * * tvservice -p; fbset -depth 8; fbset -depth 16 |
Crontab syntax:
* * * * * command to be executed - - - - - | | | | | | | | | +----- day of week (0-6) (Sunday=0) | | | +------- month (1-12) | | +--------- day of month (1-31) | +----------- hour (0-23) +------------- minute (0-59)