Listing 3 demonstrates the first method for executing a script file directly from a command line.
清单3展示了直接从命令行执行脚本文件的第一种方法。
Then I use the following processing script to run the method.
然后使用以下处理脚本运行这个方法。
I use the PHP command-line interpreter to run that script and put the method call into the queue.
我使用 PHP 命令行解释器运行这个脚本,并将这个方法调用放进队列中。
应用推荐