removed logic from Bugzilla Cron Task and put it into Lib