doupo6967 2009-08-21 17:22
浏览 193
已采纳

如何从CLI运行多个PHP脚本

I have three different crawler scripts that I want to run in parallel and I'm wondering what command do I use to execute all three at the same time.

I'm on a nix platform

  • 写回答

2条回答 默认 最新

  • dr5779 2009-08-21 17:26
    关注

    if you're on a *nix platform, putting space ampersand ( & ) at the end of the command should put it in the background, giving you back your shell to run other commands. Obviously you want to make sure the output of the job goes to a file and not standard output (screen) or the output will get confusing between the various commands

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?