How to setup a profile that is valid on a schedule