mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Fix files using CrLf, convert them to Lf to have the whole repo using Lf
Warn your git config (core.autocrlf = input or true)
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
@echo off
|
||||
REM
|
||||
REM To be scheduled by the following command:
|
||||
REM
|
||||
REM schtasks /create /tn "iTop Cron" /sc minute /tr "\"C:\Program Files\EasyPHP-5.3.6.0\www\iTop-trunk\webservices\cron.cmd\""
|
||||
REM
|
||||
REM
|
||||
REM PHP_PATH must point to php.exe, adjust the path to suit your own installation
|
||||
SET PHP_PATH=C:\Program Files\EasyPHP-5.3.6.0\php\php.exe
|
||||
REM PHP_INI must contain the full path to a PHP.ini file suitable for Command Line mode execution
|
||||
SET PHP_INI=C:\Program Files\EasyPHP-5.3.6.0\php\php-cli.ini
|
||||
REM The double dash (--) separates the parameters parsed by php.exe from the script's specific parameters
|
||||
REM %~p0 expands to the path to this file (including the trailing backslash)
|
||||
SET CRON_SCRIPT=%~p0cron.php
|
||||
REM Adjust the path below if you use a param files stored in a different location
|
||||
SET PARAMS_FILE=%~p0cron.params
|
||||
REM Actual PHP invocation
|
||||
"%PHP_PATH%" -c "%PHP_INI%" -f "%CRON_SCRIPT%" -- --param_file="%PARAMS_FILE%" --verbose=1 >> "%~p0log.txt"
|
||||
@echo off
|
||||
REM
|
||||
REM To be scheduled by the following command:
|
||||
REM
|
||||
REM schtasks /create /tn "iTop Cron" /sc minute /tr "\"C:\Program Files\EasyPHP-5.3.6.0\www\iTop-trunk\webservices\cron.cmd\""
|
||||
REM
|
||||
REM
|
||||
REM PHP_PATH must point to php.exe, adjust the path to suit your own installation
|
||||
SET PHP_PATH=C:\Program Files\EasyPHP-5.3.6.0\php\php.exe
|
||||
REM PHP_INI must contain the full path to a PHP.ini file suitable for Command Line mode execution
|
||||
SET PHP_INI=C:\Program Files\EasyPHP-5.3.6.0\php\php-cli.ini
|
||||
REM The double dash (--) separates the parameters parsed by php.exe from the script's specific parameters
|
||||
REM %~p0 expands to the path to this file (including the trailing backslash)
|
||||
SET CRON_SCRIPT=%~p0cron.php
|
||||
REM Adjust the path below if you use a param files stored in a different location
|
||||
SET PARAMS_FILE=%~p0cron.params
|
||||
REM Actual PHP invocation
|
||||
"%PHP_PATH%" -c "%PHP_INI%" -f "%CRON_SCRIPT%" -- --param_file="%PARAMS_FILE%" --verbose=1 >> "%~p0log.txt"
|
||||
|
||||
Reference in New Issue
Block a user