Automate poweroff

Photo via VisualHunt.com

Photo via VisualHunt.com

Automate poweroff

Maybe you want to turn off your media center during the night. You can add a cron job for that.
100% Complete

By default crontab is not install on the raspberry Pi.

Install crontab, and edit a cronjob for root :

sudo apt-get update
sudo apt-get install cron
sudo crontab -e

Create the job (for root) :

# -------------------------------------------
# arret de la machine de dimanche a vendredi
30 20 * * 0-5 /sbin/shutdown -h now
# arret de la machine les samedis
30 23 * * 6 /sbin/shutdown -h now

Now, your raspberry will poweroff (shutdown) at 20:30 from sunday to friday and at 23:30 on saturday

Other projects in this section

Ceci est la vue non overridée de l'objet project en mode listitem

Code à rajouter dans l'override.ini.append.php :

[line_project]
Source=node/view/listitem.tpl
MatchFile=listitem/project.tpl
Subdir=templates
Match[class_identifier]=project
   	

Ceci est la vue non overridée de l'objet project en mode listitem

Code à rajouter dans l'override.ini.append.php :

[line_project]
Source=node/view/listitem.tpl
MatchFile=listitem/project.tpl
Subdir=templates
Match[class_identifier]=project
   	

Ceci est la vue non overridée de l'objet project en mode listitem

Code à rajouter dans l'override.ini.append.php :

[line_project]
Source=node/view/listitem.tpl
MatchFile=listitem/project.tpl
Subdir=templates
Match[class_identifier]=project
   	

Ceci est la vue non overridée de l'objet project en mode listitem

Code à rajouter dans l'override.ini.append.php :

[line_project]
Source=node/view/listitem.tpl
MatchFile=listitem/project.tpl
Subdir=templates
Match[class_identifier]=project
   	

Ceci est la vue non overridée de l'objet project en mode listitem

Code à rajouter dans l'override.ini.append.php :

[line_project]
Source=node/view/listitem.tpl
MatchFile=listitem/project.tpl
Subdir=templates
Match[class_identifier]=project
   	

Ceci est la vue non overridée de l'objet project en mode listitem

Code à rajouter dans l'override.ini.append.php :

[line_project]
Source=node/view/listitem.tpl
MatchFile=listitem/project.tpl
Subdir=templates
Match[class_identifier]=project
   	

Copyright © 2015 Alex-design.fr All rights reserved.