Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Maybe Use Cron to check user account status?

Simple Membership Plugin › Forums › Simple Membership Plugin › Maybe Use Cron to check user account status?

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 11 months ago by The Assurer.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 9, 2018 at 10:12 am #16946
    pavel
    Participant

    I noticed, when user is expired, he is still active till he logs into his account, only than it changes his status to “expired”, or vice versa. Is there a way to have a cron job running to check daily if user is expired, or active, instead of triggering that check on a user login?

    December 9, 2018 at 1:23 pm #16947
    The Assurer
    Moderator

    “Real” cron jobs (what you are thinking about) are not possible with WordPress. In WordPress, whenever someone loads a page, WordPress checks to see if a queued job should be triggered. “Real” cron jobs are queued and then independently triggered by the server’s system clock, on a regular basis. Consequentially, if a particular WordPress site only gets accessed by only a handful of users, and maybe the occasional search engine, a day; the triggering of queued jobs will be skewed across a 24 hour period.

    December 9, 2018 at 1:34 pm #16948
    pavel
    Participant

    I am referring to real cron jobs, that need to be inputed into a server through cpanel and not managed through wordpress of course. Something like “http://www.example.com/?SWMP-cron=check”.

    December 10, 2018 at 3:28 am #16949
    The Assurer
    Moderator

    SWPM is a plugin for WordPress. It relies on the pseudo-cron of WordPress for triggering its events. Making it dependent upon “real cron” will not help those who are using Windows, MAC or XAMPP servers. the baseline SWPM plugin is licensed as Open Source software. You are welcome to make your own server dependent modifications to it.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy