{"id":1654,"date":"2026-10-08T13:48:19","date_gmt":"2026-10-08T18:48:19","guid":{"rendered":"https:\/\/flightinit.com\/index.php\/jupiterx-codes\/disparador-de-tareas-programadas-wp-cron\/"},"modified":"2026-10-08T13:48:19","modified_gmt":"2026-10-08T18:48:19","slug":"disparador-de-tareas-programadas-wp-cron","status":"publish","type":"jupiterx-codes","link":"https:\/\/flightinit.com\/index.php\/jupiterx-codes\/disparador-de-tareas-programadas-wp-cron\/","title":{"rendered":"Disparador de tareas programadas (WP-Cron)"},"content":{"rendered":"<p><script id=\"fi-cron-js\">\n(function(){\n  if (window.__fiCron) return;\n  window.__fiCron = true;\n  if (document.body && document.body.classList.contains('elementor-editor-active')) return;\n  var KEY = 'fi_cron_last', GAP = 60 * 60 * 1000, now = Date.now(), last = 0;\n  try { last = parseInt(localStorage.getItem(KEY) || '0', 10) || 0; } catch (e) {}\n  if (now - last < GAP) return;\n  try { localStorage.setItem(KEY, String(now)); } catch (e) {}\n  function ping(){\n    try { fetch('\/wp-cron.php?fi=' + now, { cache: 'no-store', credentials: 'omit', keepalive: true }).catch(function(){}); } catch (e) {}\n  }\n  if ('requestIdleCallback' in window) { requestIdleCallback(ping, { timeout: 8000 }); } else { setTimeout(ping, 4000); }\n})();\n<\/script><\/p>\n","protected":false},"author":1,"template":"","meta":{"_acf_changed":false},"class_list":["post-1654","jupiterx-codes","type-jupiterx-codes","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/flightinit.com\/index.php\/wp-json\/wp\/v2\/jupiterx-codes\/1654","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flightinit.com\/index.php\/wp-json\/wp\/v2\/jupiterx-codes"}],"about":[{"href":"https:\/\/flightinit.com\/index.php\/wp-json\/wp\/v2\/types\/jupiterx-codes"}],"author":[{"embeddable":true,"href":"https:\/\/flightinit.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/flightinit.com\/index.php\/wp-json\/wp\/v2\/media?parent=1654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}