-/* @(#) $Id: monitord.c,v 1.9 2009/06/24 17:06:27 dcid Exp $ */
+/* @(#) $Id$ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* Foundation
*/
/* Day changed, deal with log files */
if(today != p->tm_mday)
{
+ /* Generate reports. */
+ generate_reports(today, thismonth, thisyear, p);
+
manage_files(today, thismonth, thisyear);
today = p->tm_mday;