How to test a cron job in Local Server like WAMP?

Viewed 52914

How to test a cron job in Local Server like WAMP?

10 Answers

You can just cron your jobs in windows environment with just one line. I have almost spent my 5 hours so i want to share with other is make a task.

  • In program give php.exe path, with my installation it is c:\wamp\bin\php\php5.3.5\php.exe.
  • Second you have to put the file absolute path, which you want to run. -f c:\wamp\www\foo\foo.php in the argument

So that's complete. There is no need for installing anything.

Related