©
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
(PECL gearman >= 0.5.0)
$function_name
, callable $function
[, mixed &$context
[, int $timeout
]] )$option
)$host
= 127.0.0.1
[, int $port
= 4730
]] )$servers
= 127.0.0.1:4730
)$workload
)$function_name
[, int $timeout
] )$option
)$id
)$option
)$timeout
)$function_name
)[#1] spacewalker2002 at ukr dot net [2013-04-26 08:09:38]
For background run use:
exec("nohup php worker.php >/dev/null 2>/dev/null &");