LinHES Forums http://forum.linhes.org/ |
|
problem with wakeuptime command http://forum.linhes.org/viewtopic.php?f=6&t=4809 |
Page 1 of 1 |
Author: | nicoatyow [ Sun Jun 05, 2005 11:09 am ] |
Post subject: | problem with wakeuptime command |
All, Now that I have working knopmyth setup I am trying to tune the "Shutdown/Wakeup" options. I have a working WOL (wake on lan) ethernet device in my box. from my webserver I can do wol MACaddress and this boots my mythtv box. I also have a script to send the time to my webserver to use the at command to wake up the mythtv box. Bassically I have followed the guide at http://www.mythtv.org/docs/mythtv-HOWTO-11.html#ss11.6 The problem is with the $time param that should be passed to my wakeuptime command. This is the script : root@mythtv:/home/mythtv# more /usr/local/bin/mythwake-script.sh #! /bin/sh sudo ethtool -s eth0 wol g #echo $1 | nc new-server 5100 echo $@ > /home/mythtv/wakeup.tx For testing purposes I write the output to a file. When the mythbackend is idle it calls this script but never passes the $time argument. I have read QT::QDateTime.toString docs and tried out tens of combinations but when my script gets executed it never receives the $time data. The "wakeuptime format" is now hh:mm dd-MM-YY Any ideas how to further debug this problem ? regards, Nico |
Author: | Xsecrets [ Sun Jun 05, 2005 12:13 pm ] |
Post subject: | |
have you searched the wiki. there is a howto on this kind of thing. |
Author: | nicoatyow [ Sun Jun 05, 2005 12:31 pm ] |
Post subject: | |
I have read the WakeupToRecord wiki howto. This uses the nvram to wake up the box. The wakeup time format used in the wiki is "time_t", but even when i use this param and write a simpel script to write the argument to a file when mythtv is idle,nothing is passed. In the mythbackend log there is no indications what is going wrong. The only thing I know for sure is that mythbackend executes the script but apperently no $time data is passed. This is where I am stuck. regards, Nico |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |