pusatdata

Fix Miss schedule WP tanpa plugin

Apr 22nd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. sumber: http://www.business2community.com/tech-gadgets/definitive-solution-wordpress-missed-schedule-issue-01167171#DUEZVr7ZUU7fIS0s.97
  2.  
  3. 1. buka cronjob di cpanel
  4. 2. pilih per 5 menit
  5. 3. pada command pastekan ini http://www.pustakakoran.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
  6.  
  7. ========
  8. YANG BERHASIL MODEL INI:
  9.  
  10. Fix:
  11.  
  12. 1. Connect to your blog files through ftp and find the file cron.php in wp-includes folder, download the file to your computer
  13.  
  14. Note: Make sure you back up the original file before editing.
  15.  
  16. 2. Edit the line number 229 in cron.php file available in wp-includes folder.
  17.  
  18. 3. Look for the code
  19.  
  20. wp_remote_post( $cron_url, array(‘timeout’ => 0.01, ‘blocking’ => false, ’sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );
  21.  
  22. 4. Change the timeout value in the above code
  23.  
  24. ‘timeout’ => 10
  25.  
  26. 5. So that the file code looks like as given below
  27.  
  28. wp_remote_post( $cron_url, array(‘timeout’ => 10, ‘blocking’ => false, ’sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );
  29.  
  30. 6. Upload the new file with edited value of timeout
  31.  
  32. Sumber: http://www.troublefixers.com/fixed-wordpress-missed-schedule-problem-in-wordpress-2-9-for-scheduled-articles/
  33.  
  34. Di wordpress 4.7.4 ada di file wp-includes/cron.php baris 333
Add Comment
Please, Sign In to add comment