| | |
| | | exit; // Exit if accessed directly |
| | | } |
| | | |
| | | //TODO: Register a server cron job for jvb_process_queue |
| | | // 1) Log in to your Ploi dashboard |
| | | // 2) Navigate to your server and select the site where Edmonton Ink is installed |
| | | // 3) Go to the "Cron Jobs" tab in the site management interface |
| | | // 4) Click "Create Cron Job" to add a new scheduled task |
| | | // 5) Configure the cron job with these settings: |
| | | // - Command: Use the WP-CLI to trigger your custom wp cron event: |
| | | // cd /path/to/your/wordpress && php wp-cli.phar cron event run jvb_process_queue |
| | | // - Or if WP-CLI is installed globally: |
| | | // cd /path/to/your/wordpress && wp cron event run ei_process_queue |
| | | // - User: Select the appropriate system user (usually the one associated with your site) |
| | | // - Frequency: Set to run every 5 minutes for queue processing: |
| | | // */5 * * * * |
| | | |
| | | |
| | | //# Every minute - main queue processing |
| | | //* * * * * cd /path/to/wordpress && wp cron event run jvb_process_queue |
| | | // |