Setting an amount of time is definitely better than setting a target amount of profit. Mostly because you can't control the results. Setting a max loss limit is a good idea however to prevent tilt. Say a certain amount of max buyins at a cash table (2-3 rebuys). If you play cash you should find the ideal length of time where you are the most fresh, etc.