spawn_cron()发送请求,在不停止页面加载的HTTP请求上执行定时事件

目录

描述

Send request to run cron through HTTP request that doesn't halt page loading. Will not run more than once every 60 seconds.

spawn_cron() 描述

用法

<?php spawn_cron$local_time ); ?>

spawn_cron() 用法

返回值

(null) 

Cron could not be spawned, because it is not needed to run.

spawn_cron() 返回值

注意

  • Cron is named after a unix program which runs unattended scheduled tasks.

spawn_cron() 注意

历史

添加于 版本: 2.1.0

spawn_cron() 历史

源文件

spawn_cron() 函数的代码位于 wp-includes/cron.php.

spawn_cron() 源文件