summaryrefslogtreecommitdiff
path: root/lib/Multi/RG.pm
diff options
context:
space:
mode:
authoryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-04-26 09:25:45 +0000
committeryorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b>2008-04-26 09:25:45 +0000
commit88853c1168a333c7c7b7951b2931852e6df7da55 (patch)
treefbad6f17f0820c89ce5dd8da748cf37b56549d14 /lib/Multi/RG.pm
parentd2efb163c11a11e02abd7251fdfde3cb54c710ef (diff)
Stupid comments - like I can keep track of everything I change...
git-svn-id: svn://vndb.org/vndb@5 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'lib/Multi/RG.pm')
-rw-r--r--lib/Multi/RG.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Multi/RG.pm b/lib/Multi/RG.pm
index 9133a7a6..bf0ad9f6 100644
--- a/lib/Multi/RG.pm
+++ b/lib/Multi/RG.pm
@@ -33,6 +33,9 @@ sub spawn {
sub _start {
$_[KERNEL]->alias_set('rg');
$_[KERNEL]->call(core => register => qr/^relgraph ((?:[0-9]+)(?:\s+[0-9]+)*|all)$/, 'cmd_relgraph');
+
+ # regenerate all relation graphs twice a month (every 1st and 15nd day at 03:00)
+ $_[KERNEL]->post(core => addcron => '0 3 1,15 * *', 'relgraph all');
}