Jump to content


Photo

Cyclic restart and standby


  • Please log in to reply
2 replies to this topic

#1 Rustbread

  • Member
  • 7 posts

0
Neutral

Posted 1 October 2021 - 20:38

Hello, what is the best way to restart/put in standby receiver at given time?

My first idea was to use cron and crontabs but unfortunately I have no idea how to execute power related commands from the shell script.

If it's important I need it for Zgemma H2.S receiver.

Cheers



Re: Cyclic restart and standby #2 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 1 October 2021 - 21:31

    wget -O /dev/null -q http://127.0.0.1/web/powerstate?newstate=X

where X =
0 = Toogle Standby
1 = Deepstandby
2 = Reboot
3 = Restart Enigma2
4 = Wakeup form Standby
5 = Standby


True sarcasm doesn't need green font...

Re: Cyclic restart and standby #3 Rustbread

  • Member
  • 7 posts

0
Neutral

Posted 2 October 2021 - 20:08

Thanks,

it seems to work well. :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users