DM 920, GP4 cronjob

  • Ich verstehe die Logik des Cronjobs auf der 920er nicht ganz.
    Was habe ich vor?
    Ich möchte einmal täglich, ab 8 Uhr den aktuellen dirsync laufen lassen. Ich habe also einen Job im dirsync angelegt.
    Dann habe ich im Cron einen Job angelegt, der täglich um 8 uhr starten soll.
    Wo aber sage ich cron, das er als Job dirsync starten soll? :confused_face:

  • schon mal im IHAD nachgefragt?


    einen cronjob kann man auch "zu Fuß" anlegen


    -> https://de.wikipedia.org/wiki/Cron
    -> https://wiki.ubuntuusers.de/Cron/


    im experimental image wird busybox-cron verwendet, keine Ahnung was GP4 am laufen hat ...


    ich vermute mal, dass der cron daemon nicht läuft

    Gruß Fred

    Die Dreambox ist tot, es lebe die Dreambox

  • Hello.


    What do you mean by "Job dirsync"?


    Crontab is a simple planner for unix / linux systems. If it is running and installed, it should work. The best access to set-top-box is, in my opinion, through the Shell command line (Putty app -> telnet or SSH connection). Unfortunately, I do not know the firmware for Dreambox, but on every Enigma including the Dreambox system, Crontab should be functional and adjustable.


    I am making the Cron setting at the lowest level. I will stop the Cron service, then edit the crontab configuration file manually through the FTP connection and restart the Cron service. It is possible that another Enigma stops and starts the Cron service by another method.


    For OpenATV firmware, just use the built-in execution script for Cron service:
    /etc/init.d/crond start|stop|restart
    Main CRON config file:
    /etc/cron/crontabs/root


    The Cron Service Manuals (Crontab, Crond, Cron) can find a lot on the Internet:
    https://www.systutorials.com/docs/linux/man/5-crontab/


    Cron Timing Configuration Assistants:
    https://crontab.guru/
    https://crontab-generator.org/