The target can be anything which defines a on_timer method. For our purposes it can be a session for most part and possibly transaction. todo update this doc. type can be :session, :app, :transaction. also note that for both :app and :session the target is session.