apache - How to use php-cli.ini? -
i using open source helpdesk scheme named itop. possible insert tickets it, back upwards agents can react on them. every ticket created scheme sends email notification appropriate back upwards agent.
there function handling tto (time own) , ttr (time resolve). here scheme sends email. difference process must handeled asynchronously, because sending email triggered countdown time of tto , ttr. itop scheme hence has cron.php
file.
now tried create cron job on windows server preriodically (every 5 minutes) run file called cron.cmd
. file runs these lines:
09 set php_path=c:\program files\easyphp-5.3.6.0\php\php.exe 11 set php_ini=c:\program files\easyphp-5.3.6.0\php\php-cli.ini 14 set cron_script=%~p0cron.php 16 set params_file=%~p0cron.params 18 "%php_path%" -c "%php_ini%" -f "%cron_script%" -- --param_file="%params_file%" --verbose=1 >> "%~p0log.txt"
the problem is don't find php-cli.ini
file in php installation. hence believe have create 1 myself. pointing cron.cmd
normal php.ini fails.
so question is, how create php-cli.ini
file. how that? have concider?
in case of windows, there no php-cli.ini available. either should create re-create of php.ini or pass php.ini path -c
option.
php apache cron ini
No comments:
Post a Comment