Difference between revisions of "Sleeptimer-plugin"

From VDR Wiki
Jump to: navigation, search
m (Problems)
m
Line 12: Line 12:
 
==Configuration==
 
==Configuration==
 
A simple example for ''poweroff''. First the script
 
A simple example for ''poweroff''. First the script
<pre>
+
/usr/local/bin/sleeptimer.sh
/usr/local/bin/sleeptimer.sh
+
</pre>
+
  
 
is created with the following content
 
is created with the following content
<pre>
+
#!/bin/sh
#!/bin/sh
+
#
#
+
# simple poweroff command, sleeptimer plugin
# simple poweroff command, sleeptimer plugin
+
 
+
at now <<EOM
at now <<EOM
+
svdrpsend.pl HITK Power
svdrpsend.pl HITK Power
+
EOM
EOM
+
</pre>
+
  
 
===Parameter===
 
===Parameter===

Revision as of 23:52, 30 November 2004

Description

Screenshot

The sleeptimer plugin executes commands after a user defined time

Hardware requirements

Software requirements

Installation

See plugin installation

Configuration

A simple example for poweroff. First the script

/usr/local/bin/sleeptimer.sh

is created with the following content

#!/bin/sh
#
# simple poweroff command, sleeptimer plugin

at now <<EOM
svdrpsend.pl HITK Power
EOM

Parameter

Parameter (short) Parameter (long) Description
-e CMD shutdown command (default: /sbin/poweroff)

Problems

Links

[1] http://linvdr.org/download/vdr-sleeptimer Plugin homepage