- This topic has 4 replies, 4 voices, and was last updated 1 week ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › {expiry_date} – Member’s account expiry date – Time of Day
Tagged: {expiry_date}
Does the time of day play a factor in this calculation?
I need to know if at 3:00 PM on Jan. 1, 2099, an account is created and set to expire in 3 days…
When will it actually expire:
The granularity is on whole calendar days only, and expiration take place at the end of the last day; because it is run as a system wide batch job.
The time of the day does not play a factor.
The plugin uses WordPress’s built-in cron system for account expiry checks.
https://developer.wordpress.org/plugins/cron/
It schedules a daily cron job that runs once per day, but the exact time it fires depends on site traffic and other factors — so you can’t predict the precise time it will execute on any given day.
is run as a system wide batch job
Yes. Approximately midnight at where your site is.