- This topic is empty.
-
AuthorPosts
-
March 15, 2023 at 10:00 am #4598
Helen
GuestI see a lot of options, which is the best
what is SlickStack using and why did you choose it
March 15, 2023 at 10:02 am #4599Henry
GuestThis method is strange
cd /home/username/public_html/crunchify; php -q wp-cron.php
they will
cdto directory and then usephpinstead of full path? mostly I will see the full path recommended like:*/10 * * * * /usr/bin/php /somewhere/www/cronjob.php
March 15, 2023 at 10:18 am #4600Marilyn
GuestAnd other trend is telling people to use
wgetmethod:How to Disable wp-cron in WordPress (and Use a Real Cron Job Instead)
wget -q -O - https://yoursite.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
wget -q -O - https://yoursite.com/wp-cron.php?doing_wp_cron
What is this “?doing_wp_cron” added to the URLs
This is added to the URLs to make sure WP Cron is actually ran, and check if there are any pending tasks.By default, WP Cron is actually ran for every request to WordPress. However, this check can be disabled. This is why ?doing_wp_cron is sometimes added by plugins or WordPress itself as well.
March 15, 2023 at 10:20 am #4601Bobby
Guestsorry what are these for, should I be doing this on my site
March 15, 2023 at 12:30 pm #4603Douglas
GuestI don’t know why so many blogs and web hosts recommend
wgetmethod, maybe for shared hosting and they cannot access the PHP absolute path?April 2, 2023 at 8:34 pm #4825Raymond
Guestyes probably because of shared hosting.
July 9, 2024 at 3:33 pm #25526Bobby
GuestWP-CLI is best, by a long shot.
July 10, 2024 at 5:44 am #25532James
GuestWP-CLI is best, by a long shot.
SlickStack changed to using WP-CLI to manage WP-Cron a few months ago, and after that change, we blocked access to /wp-cron.php in Nginx config for better security.
November 28, 2025 at 4:16 pm #27952Eugene
Guestfor Multisite networks, WP-CLI is really the only reliable method
-
AuthorPosts