git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@274
c11ca15a-4712-0410-83d8-
924469b57eb5
return;
}
+ if ($message =~ /^sched$/) {
+ my @list;
+ my @run;
+ foreach (keys %sched) {
+ next unless (exists $sched{$_}{TIME});
+ push(@list,$_);
+
+ next unless (exists $sched{$_}{RUNNING});
+ push(@run,$_);
+ }
+
+ &pSReply( &formListReply(0,"Scheds to run: ", sort @list ) );
+ &pSReply( &formListReply(0, "Scheds running(should not happen?) ", sort @run ) );
+
+ return;
+ }
+
return "REPLY";
}