Millisecond Forums

experiment only accessible at specific times

https://forums.millisecond.com/Topic16296.aspx

By lotteettol - 5/14/2015

Hello,
is it possible to make an experiment only accessible at specific times of the day? I would like to activate my experiment only from 10h00-22h00.
If this is not programmable, how can I deactivate my experiment manually?
Thank you!
By Dave - 5/14/2015

> is it possible to make an experiment only accessible at specific times of the day?

No, not really. Plus you'd run into issue regarding time zones: It's always between 10AM and 22PM somewhere around the globe. :) You could conceivable have your *script* check the script.starttime property, which returns the time on the participant's local machine in her/his set timezone, and have it abort() when it's outside of the desired range. But I assume that's not precisely what you want.

> If this is not programmable, how can I deactivate my experiment manually?

You'd have to delete the experiment each evening and re-upload it the next morning, which strikes me as rather impractical, I'm afraid.