tvmovie2vdr in command.conf einfügen

  • Hallo,


    nachdem ich mal anacron hier ins Spiel gebracht habe, melde ich mich mal auch wieder zu Wort.


    goofy
    Bzgl deiner anacrontab


    ist dieser Eintrag wirklich richtig??

    Zitat

    4 10 cron.weekly opt/tvmovie2vdr/tvm2vdr.sh


    oder fehlt denn da nicht ein / vor dem opt??

    :alki:alki


    Mr.Pink


    ------------------------------------
    Gehäuse OrigenAE S14V mit Be Quiet Straight Power BQT E6-350W, Asus P5N7A-VM, CPU: Intel E7400; 2 x D2 1GB PC 800, 2 x Mystique CaBiX-C2 DVB-C Budget, Mystique View CI-Interface (f. 1 CAM) PCI und 3.5" Variante, Samsung 1Tbyte 5400 min^-1
    Ubuntu 8.10, VDR 1.7.0
    +
    2 Dboxen mit Neutrino

    Einmal editiert, zuletzt von Mr.Pink ()

  • das kann sein, habe aber zur zeit nur tvmovie2vdr.sh da stehen, statt des pfades.
    Ich dachte bei linvdr reicht das?
    Aber wenn du sagst das soll so sein dann editier ich das auch wieder.
    ich will halt nur das 2 der 3 möglichkeiten funken.
    Also commands.conf
    cron und anacron.
    commands.conf geht schonmal nicht?
    tvmovie2vdr.sh eigeben funktioniert, dann läuft eer ab.

  • das steht in meiner commands.conf


    Starte tvmovie2vdr : echo "/opt/tvmovie2vdr/tvmovie2vdr.sh" | at now ; echo "tvmovie2vdr gestartet !";


    @ god_failed
    in diesem verzeichniss (opt....) liegt aber gar keine datei namens tvmovie2vdr.sh?


    habe auch deine zeile schon 1 zu 1 übernommen............nichts, nur über die console ;(

  • @ mr.pink
    danke
    hier mene rcStart_delayed
    Wenn die OK ist sollte anacron ja laufen.
    Anacrontab poste ich auch nochmal.


    #
    # will be executed 30 seconds after system start
    #
    execute() {
    OLDIFS=$IFS
    IFS=""
    echo $* >/dev/tty13 2>/dev/tty13
    $* >/dev/tty13 2>/dev/tty13
    IFS=$OLDIFS
    }


    . /etc/sysconfig


    if [ x$START_SAMBA = x"yes" ]; then
    execute nmbd
    execute smbd
    fi


    if [ x$START_FTPD = x"yes" ]; then
    execute stupid-ftpd
    fi


    execute /usr/bin/udpd.pl
    execute httpd -c /etc/httpd.conf -p 8000 -h /pub/web


    if [ x$START_DAAPD = x"yes" ]; then
    execute mDNSProxyResponderPosix `getifaddr eth0` squeal `hostname` _daap._tcp. 3689 &
    execute daapd -s 86400 -n `hostname` /pub/mp3 &
    fi


    # cron
    mkdir -p /ramdisk/cron/crontabs
    ROOT_TAB=/ramdisk/cron/crontabs/root
    if [ ! -e $ROOT_TAB ]; then
    echo "# m h dom mon dow command" > $ROOT_TAB
    echo "0-59/5 * * * * convert.pl -q -s" >> $ROOT_TAB
    echo "20 21 * * * tvmovie2vdr.sh" >> $ROOT_TAB
    fi
    crond


    #!/bin/sh
    #
    #/etc/init.d/anacron
    #


    case "$1" in
    start)
    echo -n "Starting Ancron"
    /usr/sbin/anacron -s
    ;;
    *)
    echo "Usage: $0 (start)"
    exit 1
    ;;
    esac


    # noflushd
    if [ x$START_NOFLUSHD = x"yes" ]; then
    execute noflushd -v -n $NOFLUSHD_TIMEOUT $NOFLUSHD_DISKS
    fi
    /sbin/atd

  • anacrontab


    # /etc/anacrontab: configuration file for anacron


    # See anacron(8) and anacrontab(5) for details.


    SHELL=/bin/sh
    PATH=/sbin:/bin:/usr/sbin:/usr/bin


    # These replace cron's entries
    1 5 cron.daily nice run-parts --report /etc/cron.daily
    7 10 cron.weekly nice run-parts --report /etc/cron.weekly
    30 15 cron.monthly nice run-parts --report /etc/cron.monthly


    # format:period delay job-identifier command
    4 10 cron.weekly /opt/tvmovie2vdr/tvm2vdr.sh

  • Zitat

    Original von God_Failed
    mach mal "crontab -l " steht da 0 4 * * * tvmovie2vdr.sh
    nich drin ??? bei mir stand das schon drin ! im commands.conf hab ich das so gelöst" 10 Starte tvmovie2vdr : echo "/usr/bin/tvmovie2vdr.sh" | at now ; echo "tvmovie2vdr gestartet !" ; "sollte reichen !


    so wie hier muß es sein "/usr/bin/tvmovie2vdr.sh" das eben war en verkopierer meinerseits !!! sry ,hab da bei dir nur den eintrag mit tvmovie2vdr.sh gelesen und gedacht da hat ers doch richtig ... also so wie hier oben steht sollt es nun gehen

    yaVDR 0.3.2 VIA-Epia MII-10000, 512MB ram, Rebach DT-HiFi-01 ,TT rev.1.6, Samsung Spinpoint SV1604N 160GB, NEC ND-2500A, 2TB FreeNAS
    -Registered VDR-User #1273
    -Registered Linux-User #420228


    yaVDR 0.5.0a auf M2NPV-VM,GT9500,4GB RAM,32GB OCZ SSD

    Einmal editiert, zuletzt von God_Failed ()

  • sieht jetzt so aus


    10 Starte tvmovie2vdr : echo "/usr/bin/tvmovie2vdr.sh" | at now ; echo "tvmovie2vdr gestartet !";


    und geht nicht baer vielleicht gehen ja cron und anacron, das würde ja reichen, aber komisch ist das schon

  • goofy


    ich würde der Sache mal ein klein wenig methodischer zu Leibe rücken. Bevor du tvm2vdr startest probiers doch einfach mal ein klein wenig einfacher.


    Pipe einfach mal irgendetwas in ne Datei (natürlich über anacron) also zum Bleistift mit date > /tmp/anacrontest.


    Geht das, geht schon mal anacron.
    Danach solltest du den Fehler im Enviroment (Pfad...) suchen oder im Berechtigungswirrwarr .d.h vielleicht ist da irgend etwas nicht ausführbar!

    :alki:alki


    Mr.Pink


    ------------------------------------
    Gehäuse OrigenAE S14V mit Be Quiet Straight Power BQT E6-350W, Asus P5N7A-VM, CPU: Intel E7400; 2 x D2 1GB PC 800, 2 x Mystique CaBiX-C2 DVB-C Budget, Mystique View CI-Interface (f. 1 CAM) PCI und 3.5" Variante, Samsung 1Tbyte 5400 min^-1
    Ubuntu 8.10, VDR 1.7.0
    +
    2 Dboxen mit Neutrino

  • danke mr.pink
    da du ja in meinen geposteten config´s nicht gefunden hast, könnte das ja klappen.......
    ansonsten werde ich mal den anacron test durchführen.


    zu meiner commands.conf
    kann keiner was sagen?

  • Also ich habe, da die direkte Aufrufe über "at" bei mir auch nicht laufen
    wollten das so gelöst:


    In der commands.conf steht folgender Eintrag:

    Code
    -Infosat Update    ?:at now -f /mnt/other/vdr/scripts/info2vdr.sh


    dieser ruft folgendes script auf:

    Bash
    #!/bin/sh
    
    
    cd /mnt/other/vdr/scripts/tvmovie2vdr
    echo -e "\n\nEPG wird aktualisiert\n\n" 1 > /dev/tty7
    /usr/bin/svdrpsend.pl MESG EPG wird aktualisiert ...
    /mnt/other/vdr/scripts/tvmovie2vdr/tvm2vdr.pl > /dev/tty7


    müsstest bei dir nur die Pfade entsprechend anpassen... wenn du auf Meldungen
    usw. verzichten kannst, dann könntest du auch tvmovie2vdr.pl/.sh (wie auch immer)
    direkt aufrufen

    Now There's A lesson To Learn,
    Respect's not Given,
    It's Earned.
    --
    System : Gehäuse: techsoloTC-380 // HW: Atom 330 @ ASUS AT3IONT-I Deluxe, 4GB RAM, 2TB Samsung F4 EcoGreen HD204UI, TT6400 // SW: MLD 5.4 stable // Octopus NET S2 Max // Client: NVidia ShieldTV // LNB: DurSAT UK124

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!