[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Make in frequent cron job
From: |
Ralf Wildenhues |
Subject: |
Re: Using Make in frequent cron job |
Date: |
Fri, 10 Dec 2010 06:40:02 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hello Kenneth,
* Kenneth Porter wrote on Fri, Sep 17, 2010 at 02:40:43AM CEST:
> Is there a way to get Make to be silent when it does nothing, but have its
> normal verbosity when something is made?
>
> I want to use Make in a frequent cron job (every 1/2 hour, perhaps 10
> minutes) but I don't want to get a bunch of emails telling me nothing was
> done (which will be most of the time). I just want to know when it found
> something to do.
How about
make -q >/dev/null 2>&1 || make
?
Cheers,
Ralf