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: scheduled task not consistently happening: shutdown /s /f /t 30

29 Oct 2015   #1
klong915

32bit
 
 
scheduled task not consistently happening: shutdown /s /f /t 30

Hi,
I would like pc to shut down at a given time daily. I did this in the task scheduler and all was ok for a couple days, but now it doesn't.
The task uses the only user account there is.
I've used both switches: "Run only when user is logged on" and "Run whether user is logged on or not"
in which case "Run with highest privileges" is selected.
The task is not hidden and is configured for Windows 7, Windows Server 2008 R2"
Trigger Daily @time and it's enabled
action: start a program: c:\windows\system32\shutdown /S /F /T 30
no other conditions are selected
settings: "Allow task to run on demand" selected, "Stop the task if it runs longer than 3 days" ,"If running task does not end when requested, force a stop" are also selected

This pc is booting windows 7 home premium 64 bit.
thanks,
keith


My System SpecsSystem Spec
.
30 Oct 2015   #2
klong915

32bit
 
 

Hi,
I've since created the same shutdown request with a different name. I've altered the time to test it and it works as specified (as did initial task). I've reset the time to the desired time and will see what occurs.

There is no log, or history of any of these events. The "Enable all tasks history" is displayed in right window below Actions but when properties of the task is selected and history tab selected there are no entries.
The history tab is displayed as "History (disabled)" . How can I activate it?
thanks,
keith
My System SpecsSystem Spec
30 Oct 2015   #3
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Click on "Enable all tasks history" and that will turn on Task History.

That link will then change to "Disable All Tasks History".

That's how to toggle Task History on and off.
I always have my OS's set to Enabled, the history file does not grow in size indefinitely.
For me only the last few months of history are kept, then older history gets deleted automatically.
My System SpecsSystem Spec
.

30 Oct 2015   #4
klong915

32bit
 
 

Yes, this is set to same, but I get no log at all of the event. Also the history tab displayed when looking at task properties suggests that history is disabled: the tab -> "History (disabled)"
My System SpecsSystem Spec
30 Oct 2015   #5
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

See if your Task Scheduler Enabled History setting looks like mine.
My screen print shows my setting, and it shows i see history for the enabled task i selected.
If your Task Scheduler shows "Enable All Tasks History" it is turned off.

Post a screen print of your task scheduler like my example screen print, so we can see what you do.
Screenshots and Files - Upload and Post in Seven Forums
I blacked out my "PC Name", not sure if that really matters, but i don't post anything that MIGHT be personal info.

scheduled task not consistently happening: shutdown /s /f /t 30-task-scheduler.png


My System SpecsSystem Spec
31 Oct 2015   #6
klong915

32bit
 
 

Hi, Yes I see the same (logging of tasks run). Thanks for your patients.
I don't know why I needed to re-establish the shut down task. No log at that time.
The replaced shutdown is working as it's predecessor did and now I have a tracking log.
I will close this ticket.
thanks,
Keith
My System SpecsSystem Spec
31 Oct 2015   #7
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

You're welcome Keith and glad to hear you got it fixed.
My System SpecsSystem Spec
Reply

 scheduled task not consistently happening: shutdown /s /f /t 30




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Scheduled Task: Configure for? - Help please.
Hi, I've decided to create a scheduled task to clean up after windows updates. I've created the task and scheduled it to run every second Saturday of every month (to make sure that it only runs a few days after patch Tuesday). My problem is that I don't understand the "Configure for"...
Performance & Maintenance
Scheduled Task history indicates task completed successfully but....
Hi, New here. I'm using a Scheduled Task to fire a very simple bat file that pulls, compresses and pushes a set of files to a different network directory. The bat file runs fine manually. On a networked desktop I have set up the task to run at about 5am est (waking the machine), as highest...
Performance & Maintenance
setting up a scheduled task
I am trying to use the free program FreeFileSync to do a nightly back up of some files and have had some trouble setting up the job. The syntax for the job would be "FreeFileSync myjob.batch" run from the utilities location. I set the trigger to 2am each day, with the action to start the program...
General Discussion
Edit a scheduled task
I want to edit a scheduled task but canít identify which one due to their mysterious names. How can I determine the right one?
General Discussion
Scheduled Task not running
Scheduled Task not running when "run whether user is logged on or not" option is selected? Is this an issue/bug in windows 7?
General Discussion
Scheduled Task revisit...
I installed Windows 7 Ultimate in Dec'09. I download stuff from torrent sites and since my ISP allows free downloads from 2 am to 8 am, i normally schedule my downloads for that time slot. I had been using Freebyte Task Scheduler for the purpose and it was set to run Azureus.exe file at 2.05 am....
General Discussion


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 03:09.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App