Update: I compiled a Hello World program, scheduled it with a redirect, and the same
thing happened (although batch files redirect
their output OK). Must be a problem with background tasks (same thing happens with AT).
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
| I think that command > file is a MS-DOS command, that doesn't work in
| Windows.
I tried it with a batch file; worked OK from both the command line and scheduler.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Using php-cli 4.2.2 on Windows XP Pro.
php-cli script.php >>file.log works as expected from the command console;
the script's output is
sent to file.log. However, when run from the Task Scheduler, the output
scrolls through the console
window and file.log is untouched. The task is running with th