Showing results for 
Search instead for 
Did you mean: 

don't send e-mail when query is empty (no data)


Daily a server task is running and it runs a query (checking if there are devices with mchield isn't started).

It works all fine but is there a change when the query doesn't have data (no devices found with selected criteria) , there is no need to send a e-mail otherwise its always send an email even when query is empty (it's little bit spammy then )