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 the
> listener 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 a
>> notifier (an implementation of XWikiDocChangeNotificationInterface) is
>> running 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 to
>> have 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

Reply via email to