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

::: what are these lines mean at the Log? :::

Discussion in 'Tomato Firmware' started by Talon88, May 21, 2007.

  1. Talon88

    Talon88 LI Guru Member

    :::

    Anyone know what are these lines mean at the Log,
    Look like it add a line every half an hour......

    Thanks....!

    :::


    Code:
    May 21 08:30:01 Tomato cron.notice crond[93]: USER root pid 308 cmd rcheck --cron #rcheck# 
    May 21 09:00:01 Tomato cron.notice crond[93]: USER root pid 316 cmd rcheck --cron #rcheck# 
    May 21 09:30:01 Tomato cron.notice crond[93]: USER root pid 318 cmd rcheck --cron #rcheck# 
    May 21 10:00:01 Tomato cron.notice crond[93]: USER root pid 1523 cmd rcheck --cron #rcheck# 
    May 21 10:30:01 Tomato cron.notice crond[93]: USER root pid 1959 cmd rcheck --cron #rcheck# 
    May 21 11:00:01 Tomato cron.notice crond[93]: USER root pid 2021 cmd rcheck --cron #rcheck# 
    
     
  2. affer

    affer LI Guru Member

    Your router is logging cron events. Cron is a daemon that automates scripts, such as running a script on power up or at a fixed interval or by a parent process. The process ID was also logged. More info here.
     
  3. Talon88

    Talon88 LI Guru Member

    :::

    Thanks for reply. But can you tell what service or events
    is did from that log....??

    :::
     
  4. affer

    affer LI Guru Member

    Make a note of the PIDs (process IDs) & type ps (process status) at the command line to see what cron is doing.
     
  5. bogderpirat

    bogderpirat Network Guru Member

    it's the cron status entry for the "rcheck"-command. you can check via the cru l command:
    Code:
    # cru l
    0,30 * * * * rcheck --cron #rcheck#
    the executable for that command resides in /sbin/, i have however not been able to find out what it does, or why it needs to run twice every hour.
    judging from here (i don't know nor recognize the language), i'm guessing it has something to do with access restrictions.
     
  6. affer

    affer LI Guru Member

    rcheck is a syntax/rule checker. But it isn't the only thing that runs under cron. Another commonly scheduled item is ntpsync. E.g. if you go to the tomato menu basic/time/auto update time & set it to 6 hours.. then cron will run ntpsync every six hours, which queries a time server for the correct time.
     

Share This Page