pattern = _pattern; //In seconds
lastMessageCount = 0;
messageDifference = _messageDifference;
active = _active;
s = new Scheduler();
System.out.println("Scheduling " + key + " on " + pattern);
s.schedule(pattern, new ScheduledCommandTask(_channel, key, messageDifference));
if (active)
s.start();
}