Example #1
0
        public void Init()
        {
            TimeSpan result = ConfigUtil.Parse <TimeSpan>("备份间隔", TimeSpan.FromMinutes(5d));

            _timer = new Timer(DoWork, null, result, result);
        }