{"repo":"wp-cli/cron-command","free":true,"listed":false,"github":"https://github.com/wp-cli/cron-command","clone":"git clone https://github.com/wp-cli/cron-command.git","description":"Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules.","language":"PHP","stars":32,"topics":["wp-cli","wp-cli-package","wordpress","cli","cron","hacktoberfest"],"license":"MIT","category":"cli-tools","readme_excerpt":"wp-cli/cron-command =================== Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules. Quick links: Using Installing Contributing Support Using This package implements the following commands: wp cron Tests, runs, and deletes WP-Cron events; manages WP-Cron schedules. wp cron EXAMPLES # Test WP Cron spawning system $ wp cron test Success: WP-Cron spawning is working as expected. wp cron test Tests the WP Cron spawning system and reports back its status. wp cron test This command tests the spawning system by performing the following steps: Checks to see if the DISABLE WP CRON constant is set; errors if true because WP-Cron is disabled. Checks to see if the ALTERNATE WP CRON constant is set; warns if true. Attempts to spawn WP-Cron over HTTP; warns if non 200 response code is returned. EXAMPLES # Cron test runs successfully. $ wp cron test Success: WP-Cron spawning is working as expected. wp cron event Schedules, runs, and deletes WP-Cron events. wp cron event EXAMPLES # Schedule a new cron event $ wp cron event schedule cron test Success: Scheduled event with hook 'cron test' for 2016-05-31 10:19:16 GMT. # Run all cron events due right now $ wp cron event run --due-now Executed the cron event 'cron test 1' in 0.01s. Executed the cron event 'cron test 2' in 0.006s. Success: Executed a total of 2 cron events. # Delete all scheduled cron events for the given hook $ wp cron event delete cron test Success: Deleted a total of 2 cron events. # List scheduled cron ","default_branch":null,"files":null,"tree":[],"storefront":"/r/wp-cli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wp-cli/cron-command/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}