path: root/util
diff options
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-06-05 16:20:29 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-06-05 16:20:29 +0000
commit225f58c043446d3519adc47d72dba582cb75c56f (patch)
treef7497080bf8d63c5c1b214c2719dffbb52ed8e0b /util
parent9c467a1ff889ea1cca5ad9b618fe747becb594e9 (diff)
Improvements in the relation graph generator, and a little cleanup in the Multi code
git-svn-id: svn:// 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'util')
1 files changed, 2 insertions, 19 deletions
diff --git a/util/ b/util/
index 888dbd4f..d45150fb 100644
--- a/util/
+++ b/util/
@@ -1,24 +1,8 @@
-# This is just a small script to test and play around with a
-# processing queue for actions on VNDB that do not have a
-# strict time limit. i.e. resizing and optimizing cover images
-# and (re)generating the relation graphs. Because I'm using
-# the POE framework, it will also be possible to integrate
-# Multi the IRC bot in the same process.
-# The queue is an array of commands, and should be executed
-# in chronological order. Commands are in the form of
-# [cmd] [arguments]
-# where [cmd] is an internal command, and [arguments] a
-# whitespace seperated list of arguments.
-# Commands can be added from the web interface using shared
-# memory, or from IRC if Multi is going to integrated in here.
# Usage:
-# ./ [-c] [-s] [cmd1] [cmd2] ..
+# ./ [-c] [-s] [-a] [cmd1] [cmd2] ..
# -c Do not daemonize, just execute the commands specified
# on the command line and exit.
# -s Same as -c, but also execute commands in the shared
@@ -51,7 +35,6 @@ use Multi::IRC;
BEGIN { require '' }
- $ENV{PATH} = '/usr/bin';
our $LOGDIR = '/www/vndb/data/log';
our $LOGLVL = 3; # 3:DEBUG, 2:ACTIONS, 1:WARN
our $STOP = 0;
@@ -77,7 +60,7 @@ Multi::Core->spawn();
+Multi::Anime->spawn() if !$VNDB::DEBUG; # no need to update anime from the beta
Multi::IRC->spawn() if !$VNDB::DEBUG;