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: Windows Task Scheduler

31 Mar 2012   #11
nxb

windows 7 home x64
 
 

Well, it's not much in there that I think it would cause issues. Here is my settings for the task to run every 12 hours. Is this correct?

Code:
starts on 3/30/2012 at 12 AM
Here is the trigger info;
Weekly - recur every week, on everyday 
advanced settings 
repeate task every 1 hour for a duration of 12 hours, 
expire 3/31/2012 12 PM
When I ran the task before as mentioned above it ran fine, then I get a 0x2 error.


My System SpecsSystem Spec
.
31 Mar 2012   #12
bbearren

7 Ultimate x64/7 Home Premium x64
 
 

What I meant was, can you post the batch file code here?
My System SpecsSystem Spec
01 Apr 2012   #13
F5ing

Windows 7 Ultimate x64
 
 

Shouldn't the task be set to repeat every hour for 11 times? That'll give it a chance to complete before the next cycle.
My System SpecsSystem Spec
.

01 Apr 2012   #14
nxb

windows 7 home x64
 
 

I know what you meant but it cannot be the code it is only 2 lines. Download from the site and the other to redirect it to the proper folder ten compiling it.

In settings; repeat task every 1 hour for a duration of 12 hours. The max it can repeat is 1 hour or less than that. Must be my settings, I've tried every possible way thats why I ask if you know proper settings to run the task on every 12 hours.
My System SpecsSystem Spec
02 Apr 2012   #15
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

@NXB - you should answer the question asked by bbearren - "can you post the batch file code here?"
Right now nobody here really knows what your task tries to do except you.
If you look at your posts #7 and #14 you describe what this task does quite differently.
Post #7 mentions zipping and post #14 mentions compiling...

Looking at this thread I can't be sure if the task and/or bat file ever runs and ends correctly.

Do a Google for 0x41301 and start reading...

There are many threads saying the problem might be a hung VBS program.
My System SpecsSystem Spec
02 Apr 2012   #16
nxb

windows 7 home x64
 
 

This line would update files every 12 hours if there are files that need updating if not it won't download anything, is there are it would download then zip them into the folders where directed to.

Code:
"C:\HldsUpdateTool.exe" -command update -game  -dir C:\games

"C:\Program Files\7-Zip\7z.exe" u -t7z -xr!*TCA.Mods\* -xr!*TCA.Maps\* -xr!*TCA.Patches\* "C:\games\CS.7z" -ir!"C:\games\CS"
Meant to mention zippping not compiling, I didn't ask what 0x41301 meant.
My System SpecsSystem Spec
02 Apr 2012   #17
bbearren

7 Ultimate x64/7 Home Premium x64
 
 

0x41301 is not an error code, it is a status code, and it means that the task is currently running.

Also, you're saying that you want it to update every twelve hours, but you're also saying that you want it to update every hour for twelve hours and then stop.

What is it exactly that you want this update tool to do?
My System SpecsSystem Spec
02 Apr 2012   #18
nxb

windows 7 home x64
 
 

The maximum value in the task scheduler settings for repeat task is 1 hour for a duration of 12 hours, I want to it to run automatically every 12 hours, I provided the settings of which I currently have in the task schueduler for this task.
My System SpecsSystem Spec
02 Apr 2012   #19
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

The maximum value in the drop down list is 1 hour, but you can type 12 hours into that field.

I'm assuming you are talking about the field i hi-lighted in my screen print.

Windows Task Scheduler-tskschscrprt-04.png


My System SpecsSystem Spec
Reply

 Windows Task Scheduler




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Tutorials
Windows Task Scheduler
I have an application on a web server that occasionally hangs when a user tries to access and will eventually time out. A restart will fix the issue, but I wanted to put some sort of task in place that would automatically restart if it detected a lag/hang/timeout in the application as opposed to...
General Discussion
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
How do I disable a task in the windows 7 Task Scheduler?
Firstly, I'd like to thank you for taking your time and reading this. Now, let's talk about the issue that's driving me loco. I scheduled a task for my computer to shut itself down at 1 AM, I was tired, I can't remember if I ticked "do this daily" or not, but it does this every day and for...
General Discussion
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
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 09:06.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App