*UPDATE* Windows Cron job

Re: *UPDATE* Windows Cron job

by Luis de Vasconcelos -
Number of replies: 0

Is there a specific error message? "operation code of 2" doesn't mean much.

Use php.exe instead of php-win.exe for batch files.

It shouldn't matter where you put the batch file, as long as you specify the full paths to the directories, executables and .php files in the batch file. Even better, create environment variables pointing to your PHP and Moodle installation paths and use those environment variables in the .bat file.