Solved

Task Scheduler: Passing url to iExplorer

Posted on 2004-09-10
6
1,494 Views
Last Modified: 2012-06-22
I have a particular page(s) that I want to process at a specific time.

Right now I use the Task Scheduler to schedule a task to run at a determined time and it launches iexplorer.  I have that specific page set up as the default home page.  Not a problem.

However I want to be able to run several pages now and I need to know how to pass a url, and possibly, url parameters to a page when running the task.

How can I call iexeplorer.exe and pass it a url, from task scheduler?

I've tried using;

C:\Program Files\Internet Explorer\iexplorer.exe Z:\mydirectory\mypage.php
C:\Program Files\Internet Explorer\iexplorer.exe http://www.mysite.com/mypage.php

Neither one work...
0
Comment
Question by:alexhogan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 84

Expert Comment

by:oBdA
ID: 12029593
Basically the way you did. Note that IE's exe file is named iexplore.exe, not iexplorer.exe.
If you want to run this from a batch, you might want to use "start", otherwise the next window will only open once the first on is closed.
start "" "%ProgramFiles%\Internet Explorer\iexplore.exe" http://www.site1.com/
start "" "%ProgramFiles%\Internet Explorer\iexplore.exe" http://www.site2.com/
...
0
 
LVL 15

Expert Comment

by:Yan_west
ID: 12029649
easy, just open your Favorite folder, and copy the shortcut to the website you want in whatever directory you need. then use the task scheduler, and run the shortcut to the URL at the desired time.

0
 
LVL 15

Expert Comment

by:Yan_west
ID: 12029689
Darn, sorry.. my mistake, does not work lol
0
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
LVL 15

Expert Comment

by:Yan_west
ID: 12029706
Use Obda solution, works perfectly ;)
0
 
LVL 8

Author Comment

by:alexhogan
ID: 12029906
oBdA,

I will still have to monitor the tasks though won't I?

How can I get a single task to run for say 1 minute, close, then the second to run for 2 minutes, close, third for 1minute, etc...
0
 
LVL 84

Accepted Solution

by:
oBdA earned 125 total points
ID: 12030380
Sort of like a slide show? With sleep.exe from the W2k(3) Resource Kit and kill.exe from the W2k Support Tools, you can use a brute force approach:

start "" "%ProgramFiles%\Internet Explorer\iexplore.exe" http://www.site1.com/
sleep 60
kill iexplore.exe
start "" "%ProgramFiles%\Internet Explorer\iexplore.exe" http://www.site2.com/
sleep 120
kill iexplore.exe

The current version of the Support Tools is here:
Windows 2000 SP4 Support Tools
http://www.microsoft.com/windows2000/downloads/servicepacks/SP4/supporttools.asp

Windows Server 2003 Resource Kit Tools
http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Configuring Remote Assistance for use with SCCM
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question