Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cron.daily run 2 times -- help

Discussion in 'General Discussion' started by isputra, Mar 22, 2006.

  1. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    575
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Mbelitar
    Hi,

    Yesterday i realize that scripts on cron.daily run 2 times, like :
    - LogWatch
    - APF
    - freshclam

    Also on Cron <root@server> run-parts /etc/cron.daily report to my email with the message :

    /etc/cron.daily/freshclam:
    ClamAV update process started at Thu Mar 23 04:02:52 2006
    main.cvd is up to date (version: 36, sigs: 44686, f-level: 7, builder: tkojm)
    daily.cvd is up to date (version: 1350, sigs: 2406, f-level: 7, builder: ccordes)
    /etc/cron.daily/slocate.cron:
    fatal error: updatedb: create_db(): rename: No such file or directory

    I search on this forum and change slocate attribute with chmod 755 like the suggestion but it seems today have the same issue. Cron.daily run 2 times again.

    Is there any suggestion i can use ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. asish

    asish Active Member

    Joined:
    Dec 4, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    India
    Opent he file

    /etc/crontab

    Tjhere you can set

    0 0 * * * root run-parts /etc/cron.daily

    for the daily cronjob to be run only once.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice