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

Create a WP_cron job to add an event CPT every month #3

Open
john-hix opened this issue Dec 3, 2020 · 0 comments
Open

Create a WP_cron job to add an event CPT every month #3

john-hix opened this issue Dec 3, 2020 · 0 comments
Labels
enhancement New feature or request low-priority

Comments

@john-hix
Copy link
Collaborator

john-hix commented Dec 3, 2020

At a time close to midnight (12:00 AM) on the first night of each month, add a clt-events CPT to the database for that month.

This might require coordinating a real OS cron job with IT to ensure it happens. By default, WP cron checks for jobs only when a user visits the site via an asynchronous HTTP request.

@john-hix john-hix added the enhancement New feature or request label Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-priority
Projects
None yet
Development

No branches or pull requests

1 participant