Results 1 to 5 of 5
Feb 2, 2012, 00:55 #1
- Join Date
- Nov 2011
- 0 Post(s)
- 0 Thread(s)
Windows tasks do not invoke includes when they run a php page?
I do most of my development work in windows so I emulate cron jobs with windows task scheduler. But when I run a task it does not successfully include the includes in the php file, so I can't use my database connection includes. I have been building the necessary includes into the scripts but that is pretty annoying and time consuming.
task scheduler is set to run a .bat file named scheduled-task.bat which contains:
"cmd /K C:\wamp\bin\php\php5.3.8\php.exe -f C:\wamp\www\site\cron.php" (no quotes)
Any idea on how to fix this so my included files are actually included?