I want to run a PHP file via Task Scheduler on Windows. Everything runs except a parameter comes in.
This runs:
cmd /C C:\php\php.exe "C:\cron\cronrun.php" >> "C:\cron\log\cronrun.log" 2>&1
This is not running:
cmd /C C:\php\php.exe "C:\cron\cronrun.php" --run >> "C:\cron\log\cronrun.log" 2>&1
Nasıl bir argüman içeren bir işi yapabilir?
Thanks for help.
-lony
Kaynaklar: