summaryrefslogtreecommitdiff
path: root/Echolot/Scheduler.pm
diff options
context:
space:
mode:
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