5 minutes is definitely too much. The best approximation I found is: - insert a wget at the end of the start script- insert "platform monitor" as notification page itself creating that (the notification page seems to be called at all accesses)
Oh, and is the scheduler anything else than a crontab? paul Le 28-nov.-08 à 13:01, Jean-Vincent Drean a écrit :
This is decribed in the last step (4) of the tutorial : "Creating a Scheduler job so that the Bot is restarted automatically if the server is restarted for example". This job is called every 5 min in the example which means that the bot can be offline for 5 min at most. JV. 2008/11/21 Paul Libbrecht <[EMAIL PROTECTED]>:Erm, is this a dumb question? I really just want to automate xwiki.getXWiki().getNotificationManager().addGeneralRule(this.rule); The notification page field of XWikiPreferences seems to be expecting XWikiActionNotificationInterface while we implement XWikiDocChangeNotificationInterface as in the pircbot tutorial.Is there no way except a wget in the startup script to actually trigger thelistener to be activated? thanks in advance paul Le 21-nov.-08 à 00:26, Paul Libbrecht a écrit :Hello xwikiers, the page at http://platform.xwiki.org/xwiki/bin/view/DevGuide/Notifications is really nice and shows a real nice pearl of XWiki. I did similarly and my notifier seems to run smoothly. I would like to know, however, what is the way to make sure that anotifier (an implementation of XWikiDocChangeNotificationInterface) isrunning at every restart of our XWiki.I tried to add the fullname of either the velocity (the "starter") or the Groovy pages into that line and restarting but my notifier didn't seem tohave been running after that. What is the correct way? It should definitely be documented at the pircbot page. thanks in advance paul_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

