DIY मीडिया होम लोगो

अपनी खुद की होम थिएटर और हाय-Fi सेटअप डिजाइन और बनाने के लिए परम साइट.

0Wordpress लोगो3 WP-CRON को मैन्युअल रूप से चलाने के तरीके

I’ve recently been look­ing at how best to run wp-cron manu­ally from the sys­tem to avoid a per­form­ance hit when a vis­it­or loads the site. मैंने अब तक पाया है 3 dif­fer­ent ways to run this. और भी हो सकते हैं.

I make no com­ment on the advant­ages or dis­ad­vant­ages of each yet, because I simply don’t know well enough to be in a pos­i­tion to make recommendations…

  • wget -q -O - HTTPS के://yourdomain.tld / WP-cron.php?doing_wp_cron >/dev/null 2>&1
  • wp cron event run --due-now --path='/path/to/wordpress/'
  • php /path/to/wordpress/wp-cron.php >/dev/null 2>&1

उत्तर छोड़ दें