[wp-hackers] wp_cron - What timezone do they run under?

Otto otto at ottodestruct.com
Thu Mar 10 16:41:12 UTC 2011

On Thu, Mar 10, 2011 at 9:39 AM, Scott Kingsley Clark <scott at skcdev.com> wrote:
> If I supply a timestamp for a new job, what timezone is that timestamp run
> under? Is it GMT? Or does it run based on the timezone used in the WP
> settings?

The WP cron system uses the output of the time() function as the base
which it checks against.

Therefore, if you need precisely scheduled items, you should schedule
them as offsets against the current value of time(). time() + 86400
for 1 day in the future from "now", sort of thing.


More information about the wp-hackers mailing list