summaryrefslogtreecommitdiff
path: root/Echolot/Commands.pm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2002-08-23 07:54:53 +0000
committerPeter Palfrader <peter@palfrader.org>2002-08-23 07:54:53 +0000
commit8c90f3f18a632d44c82d18626fe390bc5d69d903 (patch)
tree9e22e0f0dca49044420d58e1bc99393bf61b595d /Echolot/Commands.pm
parent7c9b666ef12fd6fbb246d3df014271706e2df9f6 (diff)
Scheduler fixes (inserted jobs for one time processing got requeued over and over again according to their interval).
Diffstat (limited to 'Echolot/Commands.pm')
-rw-r--r--Echolot/Commands.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/Echolot/Commands.pm b/Echolot/Commands.pm
index c0a6b59..6c6901c 100644
--- a/Echolot/Commands.pm
+++ b/Echolot/Commands.pm
@@ -1,7 +1,7 @@
package Echolot::Commands;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Commands.pm,v 1.9 2002/07/17 17:53:44 weasel Exp $
+# $Id: Commands.pm,v 1.10 2002/08/23 07:54:53 weasel Exp $
#
=pod
@@ -68,13 +68,13 @@ sub processCommands($) {
} elsif ($command eq 'set') {
Echolot::Globals::get()->{'storage'}->set_stuff(@args);
} elsif ($command eq 'getkeyconf') {
- Echolot::Globals::get()->{'scheduler'}->schedule('getkeyconf', time(), \@args );
+ Echolot::Globals::get()->{'scheduler'}->schedule('getkeyconf', 0, time(), \@args );
} elsif ($command eq 'buildstats') {
- Echolot::Globals::get()->{'scheduler'}->schedule('buildstats', time() );
+ Echolot::Globals::get()->{'scheduler'}->schedule('buildstats', 0, time() );
} elsif ($command eq 'buildkeys') {
- Echolot::Globals::get()->{'scheduler'}->schedule('buildkeys', time() );
+ Echolot::Globals::get()->{'scheduler'}->schedule('buildkeys', 0, time() );
} elsif ($command eq 'buildthesaurus') {
- Echolot::Globals::get()->{'scheduler'}->schedule('buildthesaurus', time() );
+ Echolot::Globals::get()->{'scheduler'}->schedule('buildthesaurus', 0, time() );
} elsif ($command eq 'delete') {
Echolot::Globals::get()->{'storage'}->delete_remailer(@args);
} elsif ($command eq 'setremailercaps') {