[CentOS] Using Make in frequent cron job
John R Pierce
pierce at hogranch.comMon Sep 20 02:40:35 UTC 2010
- Previous message: [CentOS] Using Make in frequent cron job
- Next message: [CentOS] Amazon Linux AMI based on CentOS?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 09/19/10 6:58 PM, Kenneth Porter wrote: > 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. you could run `make -q`, then if it returns a non-zero status, run `make` like... make -q || make
- Previous message: [CentOS] Using Make in frequent cron job
- Next message: [CentOS] Amazon Linux AMI based on CentOS?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list