1

I have two PHP scripts that need to be run as continuous background processes on a WAMP server.

WAMP is installed on a Windows 7 PC. These scripts are already reside in separate folder in the www root directory.

I am using the following versions of Apache and PHP:

Apache Version :2.2.8

PHP Version :5.2.6

Since this is not a Unix platform, I can't use nohup php script.php > /dev/null to do this job. I'm looking for similar kind of command or method which works on WAMP.

Can anyone explain the steps I need to be take to do this task?

slayernoah
  • 1,650
  • 2
  • 13
  • 19
arlahiru
  • 31
  • 2
  • 4
  • 1
    Ignoring the WAMP component, as it is effectively irrelevant, this question is a duplicate of http://serverfault.com/questions/39451/there-is-any-way-to-run-processes-in-the-background-in-windows-nohup-equivalent – Zayne S Halsall Nov 20 '10 at 08:00

1 Answers1

1

You could use Windows Task Scheduler and call the job using

...\php\cli\php.exe
splattne
  • 28,508
  • 20
  • 98
  • 148