1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

crond sux hard

Discussion in 'Tomato Firmware' started by karogyoker, Jan 4, 2010.

  1. karogyoker

    karogyoker Addicted to LI Member

    I always get error for every scheduled task, it is flooding the log.

    examples:
    Code:
    Jan  4 12:15:01 unknown cron.err crond[86]: USER root pid 31889 cmd rcheck --cron
    Jan  4 12:30:01 unknown cron.err crond[86]: USER root pid 31891 cmd rcheck --cron
    Jan  4 12:45:01 unknown cron.err crond[86]: USER root pid 31893 cmd rcheck --cron
    Jan  4 13:00:01 unknown cron.err crond[86]: USER root pid 31895 cmd logger -p syslog.info -- -- MARK --
    Jan  4 13:00:01 unknown cron.err crond[86]: USER root pid 31896 cmd rcheck --cron
    
    Jan  2 15:00:01 unknown cron.err crond[86]: USER root pid 25894 cmd logger -p syslog.info -- -- MARK --
    Jan  4 15:00:01 unknown syslog.info root: -- MARK --
    
    
    Jan  4 15:38:01 unknown cron.err crond[86]: USER root pid 32248 cmd ntpsync --cron
    Jan  4 15:38:05 unknown user.info ntpc[32249]: Time Updated: Mon, 04 Jan 2010 15:38:05 +0100 [+2.930s]
    
    
    
    why linux is such a garbage?
     
  2. rhester72

    rhester72 Network Guru Member

    Administration/Logging, ensure "cron" isn't checked.

    Rodney
     
  3. karogyoker

    karogyoker Addicted to LI Member

    Then it wont log the error, but what is the error? what causes it??
     
  4. jan.n

    jan.n Addicted to LI Member

    Suffering from verbal diarrhoea lately? Please stop your undergraduate drivel or go and troll elsewhere...

    No really: If you don't understand Linux then either
    - go get yourself another router OR
    - continue with your current one and refrain from complaining OR - IMHO best -
    - go to the library and get lotsa books about Linux and learn for God's sake.

    To not let you die in complete ignorance I'll try to explain a syslog message:
    First you see the date and the time the syslog message was received, then the hostname (in this case "unknown"), after that you see the syslog facility and syslog priority (in this case "cron.err"). You then probably see the APP-NAME and PROCID, although I'm not quite sure if APP-NAME is present here (is the syslog used in Tomato fully RFC5424 compliant?), in this case PROCID would not only contain the PID, but the process name as well. And finally there's the syslog message of course.

    And now head off to a library, website or bookstore of your choice to read and learn :tongue:

    Sorry if my post sounds a bit hard, but I'm quite bugged 'cause the holidays are over and I have to get up early again - and reading your gibberish just added to my bad mood :indifferent:
     
  5. karogyoker

    karogyoker Addicted to LI Member

    And why is the error?

    There must be some serious error, becouse i restarted the router and it behaves the same.

    Is there anybody who does not get errors always from cron?

    I use Tomato Firmware v1.25.8515 .2RAF ND
     
  6. The Doctor

    The Doctor LI Guru Member

    Other than the error message, is the router performing correctly? If yes, just forget about it. If no, post the details of your problem and you will probably get help. I'm running that exact mod, over 100 days uptime with no trouble at 25Mb/S continuous upload the entire time. Logging is off, don't know about cron errors, but since it works, really don't care.

    If you feel Linux is garbage, perhaps you should get some router firmware based on a 1st class and highly stable OS, such as Win98:rolleyes:

    Seriously, you get much better help if you're not insulting. Remember, several people spent a whole lot of time making this for us, without any pay. Report problems, but show respect.
     
  7. jan.n

    jan.n Addicted to LI Member

    There is no error, it's just the priority that's called 'err' - OAO
     
  8. karogyoker

    karogyoker Addicted to LI Member

    OK, so it's perfectly normal that it prints errors to the log file when there are not any errors.
    Then i try to live with it.

    Thanks all. And sorry for my sally, i was in a bad mood.
     
  9. Toastman

    Toastman Super Moderator Staff Member Member

    My friend, you keep asking for advice on things that are covered in the FAQ, installation notes, and in thousands of other places, assuming that you can read and use the search facilities. You then ignore the answers and post more childish drivel.

    For pete's sake, what is wrong with you? You are coming across as a 12-14 year old spoiled brat. Just grow up, or go somewhere else. Please do it quickly.
     
  10. karogyoker

    karogyoker Addicted to LI Member

    It was not a question.

    BTW I found this:
    "All busybox syslogging is currently done using LOG_ERR, so we'd have to change that ourselves or wait for the change to appear upstream..."

    https://dev.openwrt.org/ticket/3981
    http://robin.forumup.it/post-11964-robin.html

    So it's rather a busybox related stuff, i guess.
     

Share This Page