Solved

Task Scheduler: Passing url to iExplorer

Posted on 2004-09-10
6
1,489 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
  • 3
  • 2
6 Comments
 
LVL 82

Expert Comment

by:oBdA
Comment Utility
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
Comment Utility
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
Comment Utility
Darn, sorry.. my mistake, does not work lol
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 15

Expert Comment

by:Yan_west
Comment Utility
Use Obda solution, works perfectly ;)
0
 
LVL 8

Author Comment

by:alexhogan
Comment Utility
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 82

Accepted Solution

by:
oBdA earned 125 total points
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now