Run a php script as a background process in wamp server

后端 未结 6 1325
无人共我
无人共我 2020-12-08 18:14

I have two php scripts that need to be run as continuous back ground processes in WAMP server.

Wamp server is installed in window 7 PC. These scripts are already res

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-08 18:36

    You can use "start" before start background script. Example:

    create cron.cmd with

    start /B php.exe "path to your script 1"
    start /B php.exe "path to your script 2"
    

    You can show man about the start command:

    1. Win-R
    2. type cmd
    3. type help start

提交回复
热议问题