[mythtv-users] Anyone know what could cause "SetWakeuptimeCommand failed" to start happening causing automatic shutdown to no longer work?
Janne Grunau
janne-mythtv at grunau.be
Wed Mar 18 18:26:53 UTC 2009
On Wed, Mar 18, 2009 at 01:25:29PM +0000, nospam312 wrote:
> > Even if each step in the script is okay and returns a successful exit
> > status, what's the return value from the script itself back to MythTV?
> >
> > Did anything change (MythTV version, system updates) immediately prior
> > to the script starting to fail?
>
> It has been doing this for the past few nights as I have been waking
> up with the machine still on.
>
> I updated to the latest Mythbuntu Fixes release yesterday but I am
> sure the problem was happening before that.
it probably includes http://svn.mythtv.org/trac/changeset/20023 (see
20021 for the full description).
That change is necessary otherwise the backend would shutdown even if
the wake up time couldn't be set.
> My script that sets the wakeup time is not sending back an exit status
> but the examples on the Wiki do not seem to indicate it is needed?
if the script exits normally without exit(1), die, ... the exit code
should be 0. You chan check with 'echo $?' directly after running your
script at the command line.
> For completeness what exit/status code should my Perl script be
> sending back once the time has been set just in case the problems
> started after updating to a newer fixes release?
0 for success
HTH Janne
More information about the mythtv-users
mailing list