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!

About /usr/bin/test & tail-check

Discussion in 'General Discussion' started by webstyler, Mar 19, 2009.

  1. webstyler

    webstyler Well-Known Member

    Joined:
    Nov 20, 2003
    Messages:
    439
    Likes Received:
    0
    Trophy Points:
    166
    What's exactly mean this row on crontab ?

    /usr/bin/test -x /usr/local/cpanel/bin/tail-check && /usr/local/cpanel/bin/tail-check

    --

    After more than 1 year that this is on crontab I receive today an email alert from root@myserver with text:

    Notification => dom@mysite.com via EMAIL [level => 1]

    ??

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    To find out what test is:

    man test

    So, that line tests whether /usr/local/cpanel/bin/tail-check exists and is executable. If it is, then it runs /usr/local/cpanel/bin/tail-check
     
    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