Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default cron job problem

    am pus un job la cron

    *3/ * * * * /etc/cron/example/osc.sh

    la etc/cron.crontab/root---am acesta informatie

    3 ba.sh ba.sh ba.sh ba.sh /etc/cron/examples/osc.sh
    proc/3 ba.sh ba.sh ba.sh ba.sh /etc/cron/examples/osc.sh

    este corecta secventa dupa 3 ? , sa afiseze Ba.sh? sau trebuie sa fie altfel?


    am primit mesaj error cron

    Jun 9 19:40:51 dm800 user.warn kernel: [149767.386000] set wss 8 on display 1
    Jun 9 19:40:51 dm800 user.warn kernel: [149767.386000] set sb to 3(2)
    Jun 9 19:40:51 dm800 user.warn kernel: [149767.471000] pilot_off!
    Jun 9 19:46:54 dm800 user.warn kernel: [150130.803000] VIDEO0: dst_left, dst_top, dst_width and dst_height is 0.. reset to defaults!
    Jun 9 19:46:54 dm800 user.warn kernel: [150130.912000] set current avs auto aspect to 4:3
    Jun 9 19:46:54 dm800 user.warn kernel: [150130.912000] set wss 8 on display 0
    Jun 9 19:46:54 dm800 user.warn kernel: [150130.913000] set wss 8 on display 1
    Jun 9 19:46:54 dm800 user.warn kernel: [150130.913000] set sb to 3(2)
    Jun 9 19:46:56 dm800 user.info kernel: [150132.356000] RCU: dropping invalid key code 4a0f441a
    Jun 9 19:46:58 dm800 user.err kernel: [150134.455000] 150434:455700000 SMCA: invalid ioctl: 0x00005407
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at proc/3
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 19:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh

    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at proc/3
    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 20:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 21:25:21 dm800 user.warn kernel: [156037.877000] VIDEO0: dst_left, dst_top, dst_width and dst_height is 0.. reset to defaults!
    Jun 9 21:25:21 dm800 user.warn kernel: [156037.994000] set current avs auto aspect to 4:3
    Jun 9 21:25:21 dm800 user.warn kernel: [156037.994000] set wss 8 on display 0
    Jun 9 21:25:21 dm800 user.warn kernel: [156037.995000] set wss 8 on display 1
    Jun 9 21:25:21 dm800 user.warn kernel: [156037.995000] set sb to 3(2)
    Jun 9 21:25:35 dm800 user.warn kernel: [156051.717000] VIDEO0: dst_left, dst_top, dst_width and dst_height is 0.. reset to defaults!
    Jun 9 21:25:35 dm800 user.warn kernel: [156051.834000] set current avs auto aspect to 4:3
    Jun 9 21:25:35 dm800 user.warn kernel: [156051.835000] set wss 8 on display 0
    Jun 9 21:25:35 dm800 user.warn kernel: [156051.835000] set wss 8 on display 1
    Jun 9 21:25:35 dm800 user.warn kernel: [156051.835000] set sb to 3(2)
    Jun 9 21:28:02 dm800 user.warn kernel: [156198.180000] VIDEO0: dst_left, dst_top, dst_width and dst_height is 0.. reset to defaults!
    Jun 9 21:28:02 dm800 user.warn kernel: [156198.297000] set current avs auto aspect to 4:3
    Jun 9 21:28:02 dm800 user.warn kernel: [156198.297000] set wss 8 on display 0
    Jun 9 21:28:02 dm800 user.warn kernel: [156198.297000] set wss 8 on display 1
    Jun 9 21:28:02 dm800 user.warn kernel: [156198.298000] set sb to 3(2)
    Jun 9 21:33:47 dm800 user.warn kernel: [156543.711000] VIDEO0: dst_left, dst_top, dst_width and dst_height is 0.. reset to defaults!
    Jun 9 21:33:47 dm800 user.warn kernel: [156543.823000] set current avs auto aspect to 4:3
    Jun 9 21:33:47 dm800 user.warn kernel: [156543.823000] set wss 8 on display 0
    Jun 9 21:33:47 dm800 user.warn kernel: [156543.823000] set wss 8 on display 1
    Jun 9 21:33:47 dm800 user.warn kernel: [156543.823000] set sb to 3(2)
    Jun 9 21:33:50 dm800 user.warn kernel: [156546.255000] set mute 1 (111) 0
    Jun 9 21:33:50 dm800 user.warn kernel: [156546.295000] set input to 1
    Jun 9 21:33:50 dm800 user.warn kernel: [156546.295000] set fb to 2(0)
    Jun 9 21:33:50 dm800 user.warn kernel: [156546.303000] set sb to 3(0)
    Jun 9 21:33:56 dm800 user.warn kernel: [156552.327000] alps_bsbe2 is in powersave mode now
    Jun 9 21:38:31 dm800 user.info kernel: [156827.925000] RCU: dropping invalid key code 0e1e441a
    Jun 9 21:38:45 dm800 user.info kernel: [156841.286000] RCU: dropping invalid key code 02702500
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root: parse error at proc/3
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root: parse error at ba.sh
    Jun 9 21:59:01 dm800 cron.err crond[829]: user root:

    cum pot repara sa ruleze, corect cron--- scriptul meu

    unde este greseala?

    multumesc
    Last edited by strike_gabriel; 10th June 2013 at 02:32.

  2. #2
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    cum verific, daca cron ruleaza? ( este activ)
    unde ma uit? sa-l vad ...

    pentru istoric, verific , la log>message.
    multumesc

    efectiv nu stiu ce sa-i mai fac sa mearga.

  3. #3
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    nu asa trebuia sa pui cumva ?
    */3 * * * * /etc/cron/example/osc.sh

  4. #4
    Junior Member Teacher
    Join Date
    Sep 2010
    Posts
    272
    Posts Thanks / Likes

    Default

    corect ce a spus raks67, ai gresit sintaxa.. probabil ca vrei sa iti ruleze scriptul la fiecare 3 minute.. deci urmeaza exemplu lui.

    cron ar trebui sa iti functioneze automat, ca sa verific dai si tu "ps ax|grep cron" ar trebui sa iti apara 2 pid-uri in lista, unu este grepul si altul este cron (/usr/sbin/cron.. sau ceva de genul). daca e acolo, inseamna ca ruleaza.

  5. #5
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    Quote Originally Posted by raks67 View Post
    .........
    */3 * * * * /etc/cron/example/osc.sh
    asa am editat si eu -- dar nu a luat root bun.
    sa dau un update la cron?
    la mine este o versiune pentru 7025,....si are sytaxme diferite, la editare crontab, vizualizate la exemple.
    ii dau un update sa vedem ce descarca.

    si acum am citit help
    si spune ca se evidentiaza run - la sbin
    Last edited by strike_gabriel; 10th June 2013 at 12:21.

  6. #6
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    deci am dat update la 11:30 ( script lor de update este iup.sh-- oferit la exemple }

    apare
    Execution process;
    new crontab time will be like this:
    -----------------------------------
    30 11 * * * /etc/cron/example/iup.sh
    crontab can't open "root" : No such file or directory
    -------------
    dislaying new crontab :
    --------------------------
    30 11 * * * /etc/cron /example/iup.sh
    -------------------------
    execution finish !


    deci trebuie sa-i creez un director Root in Crontab
    asta inteleg eu

    si culmea
    am verificat etc/cron/crontab
    si are
    doua fisiere

    root................. atribut 600 si contine

    30 11 * * * /etc/cron/examples/iup.sh

    si
    cron ....... Extensie update , no atribut
    si contine

    root
    root
    Last edited by strike_gabriel; 10th June 2013 at 12:45.

  7. #7
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    am creat new director "root" dar nu l-a acceptat

    pentru rulare la 3 minute a luat ( fiind ver veche ]
    syntax
    etc/cron/exemple/osc.sh 03

    si l-a evidentiat la lista crontab
    sunt curios daca il si ruleaza. evidentiat la log>mesage
    Last edited by strike_gabriel; 10th June 2013 at 13:11.

  8. #8
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    a salvat tab
    dar nu le ruleaza
    -----
    ce alta varianta am sa execut un script , periodic?
    alt plugin?

    sau un ipk pentru cron. sa mearga pe DM , nemesis.
    ceva testat, care funtioneaza
    asta este ver 2.2- by gutemine pentru 7025

    multumesc

  9. #9
    In The Matrix Expert
    Join Date
    Oct 2005
    Location
    near Arad
    Posts
    1,311
    Posts Thanks / Likes

    Default

    varianta cea mai buna e cu cron , dar posibil ca problema sa fie de la imagine , si eu am avut probleme cu cron pe unele imagini , nu mai stiu exact care dar au fost vreo 2 - 3 , am instalat gemini E1 pe dm500 E2 pe DM800 si merge perfect cron , numai sa ai scriptul potrivit kkkamcheck.sh

  10. #10
    Member Mentor
    RDI - Board Default Avatar

    Join Date
    Jul 2007
    Posts
    520
    Posts Thanks / Likes

    Default Cron

    Eu folosesc img NEMESIS 2.6{ svn 107r5 } E2 DM800SE in care e instalat si pluginul 2.2 si imi functioneaza perfect pe CCcam.
    Probabil multi stiu sa o foloseasca deja dar fac un mic tutorial ptr imaginea Nemesis:
    Aveti aici 2 fisiere pe care trebuie sa o instalati manual cu calea:
    Root-ul in var/etc/cron/crontabs si punem atribut 755
    EMUSTARTER.SH in var/ script tot atribut 755
    http://www.hotfiles.ro/download/cron...sis.rar/903871 AICI SUNT CELE 2 FISIERE
    Intram in : MENU/PLUGIN/CRONMANAGER/LIST CRONTAB, SI TREBUIE SA VA APARA ASA:
    */1 * * * * /bin/sh /var/script/emustarter.sh start /dev/null EU AM PUS PE 1 MINUT
    Executam o comanda din telnet: crontab -e .
    Dupa apasam butonul ALBASTRU urmat de ROSU START/STOP SERVICES si aici activam
    Contab sa ruleze. Urmat sa apasati butonul verde si
    ACTIVATE CRONTAB AT BOOT? si o punem pe YES urmat de un reboot si totul functioneaza perfect.
    Si daca functioneaza dam comanda din telnet PS si vedem daca ruleaza..
    Am uitat sa specific modificati in emustarter.sh versiunea de CCCcam pe care ofolositi...
    Bafta... Testat functional 100%
    In rest numai bine...

    [IMG] Uploaded with ImageShack.us[/IMG]

  11. #11
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default probleme again

    nu reusesc sa gasesc link-ul de download -- pe hotfiles.ro, la link-ul specificat.
    http://www.hotfiles.ro/download/cron...sis.rar/903871
    trebuie platit, la acest site, pentru download

    poti sa-l ridici si pe 4share.com si sa setezi contul ca public share,...

    multumesc

    PS:am reusit intr-un final, accesand link de servere hotfile.ro ,fileshare.ro ,girlshare.ro, din lista ,.......ok
    am sa-l testez,...pe un script de restart Oscam
    Last edited by strike_gabriel; 17th June 2013 at 00:41.

  12. #12
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    MENU/PLUGIN/CRONMANAGER/LIST CRONTAB
    nu exista

  13. #13
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    am pus in usr{var}/script/emustarter.sh-- atribuit 755
    si l-am rulat cu
    TS pannel7.1>tools2>script manager
    --------
    a confirmat ca ruleaza ok
    ---------
    idem am facut corecturi la scriptul de Oscam_Check....l-am rulat, si am primit confirmare de OK
    ----------
    mai trebuie doar sa reusesc sa pornesc cronmamager asta odata. sa ruleze el scriptul.
    ----------
    oricum m-a ajutat emustarter.sh - sa corectez scriptul meu, {avea 2 greseli in el, pe care nu le-as fi depistat niciodata}.
    ===============
    de cand am instalat acest Ipk , mi-a disparut mie Cronmanager > de la plugins> de la Meniu [ si am reinstalat un back-up imagine- dar nu a revenit la forma initiala la plugins, CRON -- acum nu mai este acolo defel ]

    enigma2-plugin-extensions-cronmanager_0.2.2-r3_all.ipk
    http://www.rdi-board.com/threads/143...um-se-porneste

    eu am DM 800 simplu cu imaginea nemesis2.3 ver095r de rahmi

    daca pornesc TS pannel >Tools-2>crons Manager> apare ecran verde- ERROARE, restart

    =======================
    intr-un final am primit confirmarea ca ruleaza Cron

    825 root 2788s /bin/sbin/crond -c /etc/cron/crontabs

    multumesc lui gilboa

    Last edited by strike_gabriel; 17th June 2013 at 03:47.

  14. #14
    EXPERT GIGABLUE & IPTV Mentor
    RDI - Board Default Avatar

    Join Date
    Feb 2010
    Posts
    912
    Posts Thanks / Likes

    Default

    mai stiti care e culmea....?

    eu de cand sant prin acest hobby si e cevaaaaa vreme,nu am folosit niciodata script ptr emulatoare,fie ca e 3C sau oscam

    care e problema?

    receptoru?
    imaginea?
    emulatoru?

    sau toate la un loc?

    nu as vrea sa detaliez mai multe
    GIGABLUE 800HD SE...GIGABLUE



  15. #15
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Dec 2008
    Posts
    497
    Posts Thanks / Likes

    Default

    Quote Originally Posted by iooon View Post
    mai stiti care e culmea....?

    eu de cand sant prin acest hobby si e cevaaaaa vreme,nu am folosit niciodata script ptr emulatoare,fie ca e 3C sau oscam

    care e problema?

    receptoru?
    imaginea?
    emulatoru?

    sau toate la un loc?

    nu as vrea sa detaliez mai multe
    chiar nu vreau sa intru la amanunte, care pot sa ma depaseasca, atat pe mine cat si pe tine,...

    ideea de baza , este ca vreau sa folosesc un anume EMU, care imi face probleme dupa 4-5 ore de functionare.
    acest EMU il am atat pe DM 8000 cat si pe DM 800 ( in ambele parti face figuri dupa 4 ore }
    Imaginile pe boxuri sunt diferite- deci nu este imaginea de vina.
    Boxurile sunt super ok
    problema este cu acest EMU, si trebuie sa rezolv resetarea lui....
    solutia practica este job la un plugin ( cronos) sa restarteze EMU respectiv, in urma unor fedbackinfo din EMU oscamCheck(file).
    ======
    si tot nu lucreaza Cron manager, scriptul.
    scriptul este corect, verificat, ruleaza corect.(l-am tot modificat, pana a puscat corect)
    daca il execut manual- primesc confirmare ca este executat corect , si afiseaza in folder .Check-- status OK.

    dar aceasta informatie ar trebuie sa apara la fiecare minut, dupa executare de catre Cron manager din root-- dar asta nu se intampla, din pacate.

    deci problema mea actuala este ca nu reusesc sa pornesc JOB la cronos,...! sa execute ce vreau eu.si nu stiu unde este problema ,...

    deci poate imi recomanda cineva o arhiva sau Ipk , pentru Ver 2.2 sau mai mare a lui gutemine, sau alt autor
    am mai gasit o versiune 1.7 de Thowi
    Cronmanager for Dreambox 7025 1.7 by thowi from 2. January 2007
    =======
    sunt dispus sa incerc si alt plugin - care poate executa un script-- multumesc
    acest cron - de pe imaginea mea actuala spune ca ruleaza - dar nu se vede real nimica.
    si Cronmanager a disparut total de la Meniu>plugin>
    Last edited by strike_gabriel; 17th June 2013 at 18:40.

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top