Click to See Complete Forum and Search --> : Auto run scripts at certain time inWin2K
How can I run my php files at a certain time in windows 2000. I want to update the database at a certain time every day. I've tryed using the scheduler but this just loads the php file into the browser and shows the code, the php files need to be loaded in the browser from the localhost dir.
thanks
Just call php.exe myscript.php to avoid loading the script into the borwser.
Type in
at ?
at the console. I never used it, but this should help you.
yeh i've tried 'at' it is actually the scheduler program for windows, but you type the task in, instead of user the scheduler program in the control panel.
For me, the scheduler called with
php.exe C:\Mypath\myphpfile.php
works fine.
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.