Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Task Scheduler - run program on wake

28 Dec 2011   #11
JimLewandowski

 
 

The message should be the easy part. You can click on the HISTORY tab of your opened (via properties) Task and see when it ran, what errors, etc.

So, you are home-free at this point.


My System SpecsSystem Spec
.
28 Dec 2011   #12
lehnerus2000

W7 Ultimate SP1, LM18.2 MATE, W10 Home, #All 64 bit
 
 

Quote   Quote: Originally Posted by JimLewandowski View Post
The message should be the easy part. You can click on the HISTORY tab of your opened (via properties) Task and see when it ran, what errors, etc.

So, you are home-free at this point.
I meant getting Task Scheduler to display a message on the Desktop.
I thought that "show a message" meant display a Windows Dialog box on the Desktop.

I created a task, which was supposed to display a message at a certain time.
It never displayed a message.
I added a sound alert (IrfanView) to that task.
The sound played, but the message didn't appear.

I guess I could have made it display a txt file (Notepad) or a picture (IrfanView).
My System SpecsSystem Spec
28 Dec 2011   #13
JimLewandowski

 
 

I thought you could only do ONE of the following:

Create message
Send an email
Start a program

The messsage, if it works, will be a regular windows popup window with the only button to click OK with the message text above it.

I've done the message before as I have a popup that shows up any time I connect a removable drive to my desktop.
My System SpecsSystem Spec
.

28 Dec 2011   #14
lehnerus2000

W7 Ultimate SP1, LM18.2 MATE, W10 Home, #All 64 bit
 
 
That's what I was expecting ...

Quote   Quote: Originally Posted by JimLewandowski View Post
I thought you could only do ONE of the following:

Create message
Send an email
Start a program

The messsage, if it works, will be a regular windows popup window with the only button to click OK with the message text above it.

I've done the message before as I have a popup that shows up any time I connect a removable drive to my desktop.
That's what I was expecting, but I couldn't make it work.

I was only trying to do it, to troubleshoot a problem I was having.
I was unaware that Windows automatically turned itself off after 2 minutes (if activated by an unattended task).

I wanted my machine to wake up and perform an AV scan (4:00 am).
I set:
  • The task time (3:45 am)
  • The Program Update time to 5 minutes later (3:50 am)
  • The Virus Database update time to 5 minutes after that (3:55 am).
  • The AV scan time to 5 minutes after that (4:00 am).
Of course none of the AV steps started.

I thought that if I got it to display a message, I would see the Dialog box on my Desktop (which would confirm that the task had started).
That never worked.

I then tried setting a task to display a message (in a few minutes, whilst I watched).
No message ever appeared.

I then included a sound (IrfanView).
The sound worked!

Brink sorted it out my original problem for me.
So I never bothered to try to figure out what was happening.
My System SpecsSystem Spec
29 Dec 2011   #15
JimLewandowski

 
 

I was expecting you to set NO time on any of these tasks as they would simply be triggered from the EVENT ID 1 event.
My System SpecsSystem Spec
29 Dec 2011   #16
lehnerus2000

W7 Ultimate SP1, LM18.2 MATE, W10 Home, #All 64 bit
 
 
My bad.

Quote   Quote: Originally Posted by JimLewandowski View Post
I was expecting you to set NO time on any of these tasks as they would simply be triggered from the EVENT ID 1 event.
My bad.
Ancient history (that happened last year).

Since Brink solved my original dilemma, I didn't bothered to look into the message mystery.
My System SpecsSystem Spec
19 Sep 2015   #17
pxfragonard

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by JimLewandowski View Post
FWIW, I think Task Scheduler is the most valuable thing around in Windows.

Pull up Event Viewer (Control Panel -> Administrative Tools -> Event Viewer) and select (LH side) caret by SYSTEM LOGS. Then select SYSTEM.

Scroll and find the time when your PC just woke up from sleep. The event ID will be 1 and source column will be Power-Troubleshooter.

Highlight that and then right-click and select Attach task to this event. Then do your thing by setting up all the applet panels.

Here's mine (using the COPY tile from the lower pane):

Log Name: System
Source: Microsoft-Windows-Power-Troubleshooter
Date: 12/28/2011 8:31:26 PM
Event ID: 1
Task Category: None
Level: Information
Keywords:
User: LOCAL SERVICE
Computer: Jim-GLH
Description:
The system has resumed from sleep.
Sleep Time: ‎2011‎-‎12‎-‎28T23:36:50.608543500Z
Wake Time: ‎2011‎-‎12‎-‎29T01:31:18.170801200Z
Wake Source: Unknown


Test by simply issuing a MESSAGE when that event occurs (will present a popup window for you of text).
What could you add to the message pop-up to close it, say, in 2 seconds if the point is just to wake the computer?
My System SpecsSystem Spec
Reply

 Task Scheduler - run program on wake




Thread Tools




Similar help and support threads
Thread Forum
How to use Task Scheduler to close a program?
Is there a way to use TS to close programs? I want a way to schedule times for certain programs to close. I already know how to use TS to shutdown the computer. Also, i'd prefer if no annoying messages popped up, like when I schedule a shutdown the computer pops up with "Your computer will...
General Discussion
Using Task Scheduler to restart a program upon wake from sleep
I'm using Logitech's latest LGS for my G700. It's very annoying that I have to exit and restart LGS when my system comes out of sleep or LGS doesn't recognize the mouse as being awake (windows drives it then). This happens when the mouse is running wirelessly. It also happens across versions. Is...
General Discussion
Task scheduler program start minimized
Hello all, I just discovered the task scheduler and I am using it to start programs at logon, like eraser. The only problem is I would like to start them minimized and I can't quite figure out how to do that. I have set the program properties to run minimized but it doesn't want to play nice. Is...
Software
Make Task Scheduler run a program after another closes?
Is it possible to get Task Scheduler to run programs after another program is closed? What I was thinking is, it would be great to be able to get CCleaner and/or an AV program to run automatically, after shutting down IE8, Firefox or other browser. :geek: It would be an excellent way to protect...
General Discussion
Using Task Scheduler to wake PC for the day
I put my PC in standby when I go to bed and would like to resume automatically each morning at 5am, the way a WOL packet would do. Can I use Task Scheduler for this? I know I could if I chose to run a specific program, but I just want the PC to wake for the day.
Performance & Maintenance
Task Scheduler doesn't wake up computer
Hi, I noticed somehow my username is logged off if the computer sleeps too long (like during night). If I test the task behind my computer and let the computer sleep for a short while, it automatically awakes. If I allow the computer sleep automatically and for long periods of time, then...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 14:17.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App