added support for crontab-like scheduling capability to stats data collection

added support of crontab-like scheduling capability to stats data collection.