Hello Guest, if you are reading this it means you have not registered yet or not logged in. Please take a second, login or register here, and in a few simple steps you will be able to enjoy all the many features of our fine community. Note that lewd or meaningless nicknames are prohibited (no numbers or letters at random) and please introduce yourself in the section for you to meet our community.

PCHOME.RO

Collapse

cron job problem

Collapse
X
Collapse
Currently active users viewing this thread: 0 (0 members and 0 guests)
  • Filter
  • Time
  • Show
Clear All
new posts

  • strike_gabriel
    started a topic cron job problem

    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; 10 June 2013, 00:32.

  • Guest
    replied
    Problem la uploader pe grilshare , fisierul o gasiti : aici

    Leave a comment:


  • Guest
    replied
    script

    Script restart BOX+CCCcam pe img Nemesis in aceeasi timp: aici ... Testat functional 100% ..
    Bafta..

    Leave a comment:


  • raks67
    replied
    doar un fisier root trebuie sa fie care contine toate cron-urile , poti verifica daca functioneaza scriptul oprind cccam din bluepanel sau cu telnet

    Leave a comment:


  • strike_gabriel
    replied
    asa am facut
    am pus
    un script la 3 minute
    si un script la 5 minute
    --------
    in messages- var/log/messages
    imi spune ca le ruleaza pe amandoua.
    ---
    feedback de la script-- imi vine doar de la unul
    al- 2-lea pare mort, nici un mesaj in CCcam.check file.

    bine ca merge macar unul.
    ----
    in etc/cron/crontabs trebuie sa fie doar un root?
    si acest root sa contina toate joburile, pentru scripturi,
    asezate fiecare pe cate o linie ?

    */5 * * * * /bin/sh /var/script/emustarter_em.sh start /dev/null
    */3 * * * * /bin/sh /var/script/emustarter.sh start /dev/null
    doar cel de 3 minute imi da feedback ca ruleaza
    cel de 5 , nu misca nimic, in ...check file
    sau trebuie creat root (file) pentru fiecare job separat?
    root
    root1
    root2
    parerea mea este ca trebuie sa fie doar un root, care sa contina toate joburile.dar astept si parerea altora, care folosesc mai multe job-ri pe cron.
    DCC imi spune ca cron ruleaza
    si la crontab -e
    sus
    afiseaza cele 2 job
    */5 * * * * /bin/sh /var/script/emustarter_em.sh start /dev/null
    */3 * * * * /bin/sh /var/script/emustarter.sh start /dev/null

    si partea ecran jos
    -var/spool/cron/crontabs.19026 1/2 50%
    Last edited by strike_gabriel; 26 June 2013, 22:16.

    Leave a comment:


  • raks67
    replied
    si poti pune sa verifice la 5 minute , 1 minut e totusi cam des

    Leave a comment:


  • strike_gabriel
    replied
    am gasit greseala

    era calea gresita, la mine

    usr/bin/ CCcam_2.1.3
    si trebuie
    var/bin/CCcam_2.1.3


    24/06/13 19:44 CCcam restarting...
    OK 3
    OK 3
    24/06/13 19:46 CCcam restarting...
    24/06/13 19:46 CCcam restarting...
    OK 3
    OK 3
    OK 3

    le verific acuma si pe celelate scripturi , si le execut manual,... si apoi trebuie sa porneasca Cron.

    ok
    seara placuta

    Leave a comment:


  • strike_gabriel
    replied
    Ura

    cu fisierele tale, a repornit Cron.
    nu inteleg unde este greseala { ce gresesc },dar cu aceste fisiere , a repornit Cron , atat pe Oscam cat si pe CCcam.
    trag concluzia ca scriptul modificat de mine, genereaza problemele,...l-am executat manual, si am primit un carnat de incompatibilitati,...si la al tau arata OK,....

    multumesc
    seara placuta ,...
    Last edited by strike_gabriel; 24 June 2013, 19:29.

    Leave a comment:


  • strike_gabriel
    replied
    Multumesc

    am sa-l incerc, si daca nu vrea nici cum, reinstalez imaginea,....
    ma termina , CRON asta ,....
    numai bine

    Leave a comment:


  • Guest
    replied
    Cron

    Uite @strike_gabriel iti spun si criptul de rulaj aici cu care pot sa-ti spun ca merge perfect cron si cu oscam, eu folosesc oscam8705 pe care a o am si in cron si restul e aceeasi imagine pe care o postasem inainte.. DM800se img NEMESIS 2.6...
    http://www73.zippyshare.com/v/48319729/file.html .
    Atentie la terminatii em.sh peste tot...
    In rest numai bine...

    Leave a comment:


  • strike_gabriel
    replied
    iar primesc, mesaj de erroare,

    Jun 24 14:55:56 dm800 user.info kernel: [ 553.867000] fe_common: retrying i2c transfer
    Jun 24 14:55:56 dm800 user.info kernel: [ 553.867000] fe_common: retrying i2c transfer
    Jun 24 14:55:59 dm800 user.info kernel: [ 556.383000] fe_common: retrying i2c transfer
    Jun 24 14:56:01 dm800 cron.err crond[1140]: USER root pid 1409 cmd /bin/sh /var/script/OscamCheck.sh start /dev/null
    Jun 24 14:56:01 dm800 user.info kernel: [ 558.913000] fe_common: retrying i2c transfer

    am sa incerc si cu

    USER root------------- /bin/sh /usr/script/OscamCheck.sh start /dev/null

    */1 * * * * /bin/sh /usr/script/OscamCheck.sh start /dev/null
    */1 * * * * /usr/script/OscamCheck.sh start /dev/null


    sa vad ce se intampla...
    desi 4 zile a functionat perfect.

    Originally posted by gilboa View Post
    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...

    http://img35.imageshack.us/img35/9891/jwum.pngUploaded with ImageShack.us
    Last edited by strike_gabriel; 24 June 2013, 15:18.

    Leave a comment:


  • strike_gabriel
    replied
    Super

    este o super satisfactie maxima sa vezi , ca Cron , ruleaza scriptul tau,... impecabil.
    numai bine,....
    strike

    Leave a comment:


  • strike_gabriel
    replied
    at last Cron works

    multumesc pe aceasta cale , celor care au pus umarul sa ma ajute.
    have a nice week

    Leave a comment:


  • strike_gabriel
    replied
    rezolvarea

    problemele au aparut , dupa upgrade de TS pannell la vers 7.1
    a disparut cronmanager de la Meniu>plugin , si toate s-au dat peste cap din acel moment.
    ---
    reset fabrica- nimica
    ipk enigma2-plugin-extensions-cronmanager_0.2.2-r3_all.ipk--nici o imbunatatire.

    ---
    a trebuit sa reinstalez imaginea initiala, si numai atunci am regasit meniu normal la plugin > Cronmanager
    ---
    si doar acest Cron , atasat la imagine, pare sa ruleze ok.
    (cel de la TS pannell (ver tunisat ) a facut varza imaginea nemesis dpdv al plugin ).

    Leave a comment:


  • first_zipper
    replied
    Pe DM800HDse, utilizez acelasi plugin by gutemine: enigma2-plugin-extensions-cronmanager_0.2.2-r3_all.ipk
    Nu am avut niciodata probleme pe imagini OE2.0 Merlin3, OoZooN, Newnigma2 sau polar-thor.
    La opendreambox+GP3 este preinstalat pluginul.
    E drept, nu folosesc cronjob/ script pt. restart-EMU, ci doar ca reboot.

    Ca sugestie:
    -mare atentie la atribute fisiere pt. cronjob si script (eu folosesc chmod 777);
    -mare atentie la editorul cu, care modificati/ editati aceste fisiere
    Last edited by first_zipper; 17 June 2013, 18:14.

    Leave a comment:



Working...
X