Announcement

Collapse
No announcement yet.

run the corn.php using php-cgi.exe or php.exe?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • run the corn.php using php-cgi.exe or php.exe?

    I have an espocrm running in windows platform and the following command is suggested in the "Scheduled Jobs" page
    C:\PHP\php-cgi.exe -f C:\inetpub\wwwroot\espo\cron.php

    if i run C:\PHP\php-cgi.exe -f C:\inetpub\wwwroot\espo\cron.php in command prompt, it will show "Cron can be run only via CLI"

    from http://php.net/manual/en/migration5.cli-cgi.php, php-cgi.exe is for CGI and php.exe is for CLI, i just wonder why the suggested command is php-cgi.exe.

  • #2
    What is your version of EspoCRM?
    It should be "php.exe". What is the correct path to your PHP?
    Job Offers and Requests

    Comment


    • #3
      the version is 5.4.3

      Comment


      • #4
        Is this path "C:\PHP\php.exe" correct for your PHP?
        Job Offers and Requests

        Comment


        • #5
          Yes, the path of php.exe is "C:\PHP\php.exe"

          Comment

          Working...
          X