Sleeptimer-plugin
From VDR Wiki
(Difference between revisions)
(initial) |
(→Links) |
||
| (4 intermediate revisions 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 | |
| - | /usr/local/bin/sleeptimer.sh | + | |
| - | + | ||
is created with the following content | is created with the following content | ||
| - | + | #!/bin/sh | |
| - | #!/bin/sh | + | # |
| - | # | + | # simple poweroff command, sleeptimer plugin |
| - | # simple poweroff command, sleeptimer plugin | + | |
| + | at now <<EOM | ||
| + | svdrpsend.pl HITK Power | ||
| + | EOM | ||
| - | + | ===Parameter=== | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | ==Parameter== | + | |
{| border=1 cellpadding=2 cellspacing=0 | {| border=1 cellpadding=2 cellspacing=0 | ||
|- bgcolor=#efdead | |- bgcolor=#efdead | ||
| Line 34: | Line 30: | ||
!Description | !Description | ||
|- | |- | ||
| - | | -e CMD || || shutdown command (default: /sbin/poweroff) | + | | -e CMD || || shutdown command (default: '''/sbin/poweroff''') |
|} | |} | ||
==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}} | |
| - | + | ||
Latest revision as of 08:04, 14 March 2006
Contents |
Description
The sleeptimer plugin executes commands after a user defined time
Hardware requirements
Software requirements
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
- This plugin was not packaged correctly (see Plugin installation#For developers)
Links
| [1] | http://linvdr.org/download/vdr-sleeptimer | Plugin homepage |




