homepage Welcome to WebmasterWorld Guest from 23.20.77.156
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9)
Forum Library, Charter, Moderators: bill

Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9) Forum

    
Problem with scheduling iexplore
turbohost




msg:1571507
 9:00 am on Feb 16, 2005 (gmt 0)

Hi Guys,

Got a problem with scheduling the execution of a php file via iexplorer.

I'm running this command via cmd to schedule the batch file (I've got to schedule about 10 php files)
at \\SYSTEMNAME 09:53 /interactive /every:M,T,W,Th,F,Sa,Su "c:\test1.bat"

The batch files test1.bat has the following commands :

"c:\program files\internet explorer\iexplore.exe" "http://127.0.0.1/dir/testphp1.php"
"c:\program files\internet explorer\iexplore.exe" "http://127.0.0.1/dir/testphp2.php"

The last result in the scheduler tells me that the status was 0x0 and in the event viewer there are no errors. The php files are not run though. If I run the commands in the batch via cmd line the php files are run without errors.

Someone?
Turbo

 

turbohost




msg:1571508
 9:23 am on Feb 16, 2005 (gmt 0)

Forgot to mention this, I'm scheduling it on a Windows 2000 machine ...

turbohost




msg:1571509
 2:00 pm on Feb 16, 2005 (gmt 0)

Someone?

jezra




msg:1571510
 1:24 am on Feb 25, 2005 (gmt 0)

Hello,
Is there anything limiting you from using the task scheduler in the control panel? if not, I would suggest using the task scheduler to run your batch file. Personally, and this is just me, I would skip the bat file and just use a php file to call the necessary php scripts or at least take IE out of the picture. Depending upon how PHP is installed on your puter, you should be able to run any PHP script with c:\PATH\TO\PHP -f c:\PATH\TO\SCRIPT

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/9)
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved