How to set yourself on and off duty