# How to run event handler outside server-mode?
Note: Running just event-handler is not advisable, use it with caution.
Navigate to the domain module
run command
event-handler update <name> <seqNo>For example: To run the event-handler till event number 100
[LotteryDomain] eventHandler update LotteryStream 100
Note:
- ensure the bookmark is set to the appropriate sequence number.
- use
eventHandler --helpto know more options. - Delete the bookmark collection once this exercise is over to avoid confusions in future.