![]() | 1 | initial version |
Hi,
This is how I would do it (That does not mean that is the most elegant solution but it should work):
I would put a little shell script in /etc/rc.local which will be executed every time you start your PC. Use gedit to create the script: gedit /etc/rc.local
Then paste something like:
#/bin/bash
shutdown -h 22:00
Then make rc.local excutable: chmod +x /etc/rc.local
.
You should be good to go...
![]() | 2 | No.2 Revision |
Hi,
This is how I would do it (That does not mean that is the most elegant solution but it should work):work. Very likely that systemd.timer method is better.recommended). If you want it quick and dirty, take this:
I would put a little shell script in /etc/rc.local which will be executed every time you start your PC. Use gedit to create the script: gedit /etc/rc.local
Then paste something like:
#/bin/bash
shutdown -h 22:00
Then make rc.local excutable: chmod +x /etc/rc.local
.
You should be good to go...
![]() | 3 | No.3 Revision |
Hi,
This is how I would do it (That does not mean that is the most elegant solution but it should work. Very likely that systemd.timer method is better.recommended). better/recommended). If you want it quick and dirty, take this:
I would put a little shell script in /etc/rc.local which will be executed every time you start your PC. Use gedit to create the script: gedit /etc/rc.local
Then paste something like:
#/bin/bash
shutdown -h 22:00
Then make rc.local excutable: chmod +x /etc/rc.local
.
You should be good to go...
![]() | 4 | No.4 Revision |
Hi,
This is how I would do it (That does not mean that is the most elegant solution but it should work. Very likely that systemd.timer method is better/recommended). If you want it quick and dirty, take this:
I would put Use a little shell script in /etc/rc.local which will be executed every time you start your PC. Use gedit to create the script: gedit /etc/rc.local
Then paste something like:
#/bin/bash
shutdown -h 22:00
Then make rc.local excutable: chmod +x /etc/rc.local
.
You should be good to go...
![]() | 5 | No.5 Revision |
Hi,
This is how I would do it (That does not mean that is the most elegant solution but it should work. Very likely that systemd.timer method is better/recommended). If you want it quick and dirty, take this:
Use a little shell script in /etc/rc.local/etc/rc.d/rc.local which will be executed every time you start your PC. Use gedit to create the script: gedit
Then paste something like:/etc/rc.local/etc/rc.d/rc.local
#/bin/bash
shutdown -h 22:00
Then make rc.local excutable: chmod +x
./etc/rc.local/etc/rc.d/rc.local
You should be good to go...
![]() | 6 | No.6 Revision |
Hi,
This is how I would do it (That does not mean that is the most elegant solution but it should work. Very likely that systemd.timer method is better/recommended). If you want it quick and dirty, take this:
Use a little shell script in /etc/rc.d/rc.local which will be executed every time you start your PC. Use gedit to create the script: gedit /etc/rc.d/rc.local
Then paste something like:
#/bin/bash
#!/bin/bash
shutdown -h 22:00
Then make rc.local excutable: chmod +x /etc/rc.d/rc.local
.
You should be good to go...