summaryrefslogtreecommitdiff
path: root/Echolot/Scheduler.pm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-07-02 13:51:30 +0000
committerPeter Palfrader <peter@palfrader.org>2002-07-02 13:51:30 +0000
commit86822cfae2329829c6673f2e48135b3c4f6fee0d (patch)
treee235ebdfb4fd1f980c442ec98162f835295507fa /Echolot/Scheduler.pm
parentbe36660a2c51a2bbfdff83c1cf52a61aff0ebb62 (diff)
Remove debugging output
Diffstat (limited to 'Echolot/Scheduler.pm')
-rw-r--r--Echolot/Scheduler.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Echolot/Scheduler.pm b/Echolot/Scheduler.pm
index 711b9e0..1d5735c 100644
--- a/Echolot/Scheduler.pm
+++ b/Echolot/Scheduler.pm
@@ -1,7 +1,7 @@
package Echolot::Scheduler;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Scheduler.pm,v 1.5 2002/06/20 04:28:13 weasel Exp $
+# $Id: Scheduler.pm,v 1.6 2002/07/02 13:51:30 weasel Exp $
#
=pod
@@ -123,7 +123,6 @@ sub run($) {
if ($task->{'start'} < $now) {
warn("Task $task->{'name'} could not be started on time\n");
} else {
- print "zZzZZzz at $now\n";
sleep ($task->{'start'} - $now);
};
@@ -138,7 +137,6 @@ sub run($) {
warn("Task $task->{'name'} is not defined\n");
my $what = $self->{'tasks'}->{$name}->{'what'};
- print "Running $name at ".(time())." (scheduled for $now)\n";
last if ($what eq 'exit');
&$what();
$self->schedule($name, $now + $self->{'tasks'}->{$name}->{'interval'}) if