Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrub or pause PMPro cron jobs and automated services #112

Open
NickGreen opened this issue Nov 30, 2023 · 2 comments
Open

Scrub or pause PMPro cron jobs and automated services #112

NickGreen opened this issue Nov 30, 2023 · 2 comments

Comments

@NickGreen
Copy link
Contributor

image (3)

Let's find in the code where these are paused, and consider either fully dropping the cron jobs and scheduled actions or blocking them in a similar way.

@NickGreen
Copy link
Contributor Author

Custom tables in the DB:

_pmpro_discount_codes
_pmpro_discount_codes_levels
_pmpro_discount_codes_uses
_pmpro_memberships_categories
_pmpro_memberships_pages
_pmpro_memberships_users
_pmpro_membership_levelmeta
_pmpro_membership_levels
_pmpro_membership_ordermeta
_pmpro_membership_orders

Cron jobs

pmpro_cron_stripe_subscription_updates PMProGateway_stripe::pmpro_cron_stripe_subscription_updates()
pmpro_cron_admin_activity_email	pmpro_cron_admin_activity_email()	
pmpro_cron_delete_tmp pmpro_cron_delete_tmp()
pmpro_cron_credit_card_expiring_warnings pmpro_cron_credit_card_expiring_warnings()
pmpro_cron_expire_memberships pmpro_cron_expire_memberships()	Once Hourly
pmpro_cron_expiration_warnings pmpro_cron_expiration_warnings()

@NickGreen
Copy link
Contributor Author

Also, if we set the pmpro option last_known_url to be something like https://safetynetscrubbedthis.com then it will always return true for pmpro_is_paused()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant