Sleeptimer-plugin: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
(rearranged)
 
(2 intermediate revisions by one other user not shown)
Line 12: Line 12:
==Configuration==
==Configuration==
A simple example for ''poweroff''. First the script
A simple example for ''poweroff''. First the script
/usr/local/bin/sleeptimer.sh
<pre>
/usr/local/bin/sleeptimer.sh
</pre>


is created with the following content
is created with the following content
#!/bin/sh
<pre>
#
#!/bin/sh
# simple poweroff command, sleeptimer plugin
#
# simple poweroff command, sleeptimer plugin
at now <<EOM

svdrpsend.pl HITK Power
at now <<EOM
EOM
svdrpsend.pl HITK Power
EOM
</pre>


===Parameter===
===Parameter===
Line 38: Line 34:


==Problems==
==Problems==
* This plugin was not packaged correctly (see [[Plugin installation#For developers]])


==Links==
==Links==
Line 48: Line 45:
[[Category:Plugins]]
[[Category:Plugins]]


{{i18n|sleeptimer-plugin}}
<!-- Link to german wiki page -->
[[de:Sleeptimer-plugin]]

Latest revision as of 08:04, 14 March 2006

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