473,748 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Schedule a task before shutting the beast down

freddieMaize
85 New Member
Hi all,

In Scheduled Tasks, is there by any chance i can schedule a task before shutting down/Logging off my system?
Dec 5 '08 #1
2 1979
MindBender77
234 New Member
@freddieMaize
You could use the group policy manager to run scripts either during start up, shut down, log on or off events.

From the Windows command line type: gpedit.msc

Hope this points you in the right directions,
Bender
Dec 5 '08 #2
freddieMaize
85 New Member
From the Windows command line type: gpedit.msc
Done. Thanks a lot.

The reason why I was looking for such a thing was, I’m got screwed up by my boss for not filling the timesheets. Few days ago the matter got worse and I faced serious problems because of that. That is when I decided to write a scheduler that would open a browser with the timesheet url before shutting down the system. Its working fine.

fREDDIE
Dec 6 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
4340
by: Stephen | last post by:
Hi All, I'm trying to find a way where I can schedule a task to be run within a web site, either in VB (COM) or within the web site (ASP). What I want to do is to run a daily scheduled task which will cleanup a desired folder within the web site. As I say, this must be an automated scheduler which can kicked off by itself without any interaction from a user etc.
10
18651
by: Jesper | last post by:
Does anyone know some c++ code for shutting down windows? I want to write a program using borland c++ builder to shut down windows. --
1
1515
by: Mullin Yu | last post by:
How can I do so? Can I write a windows service that will run a bat file when the system shuts down? I want to write a service because I can create a schedule task by Windows Scheduler only when the system starts up. Thanks!
0
1954
by: cyshao | last post by:
Hi, My Friends: I have a program and I want to let machine automaticly auto it by using Windows task schedule. Sure, I can manually Create/Modify task in Windows task schedule. But I also hope to Create/Modify tasks by programming, for another program want to generate many tasks. Could you tell how to control windows task schedule by programming ? Thanks
23
6504
by: pamelafluente | last post by:
Hi guys! I want to do a large number of scheduled task (say 80). Each task can be run at a certain time every given weekday. For instance at 10am and 5pm on each monday, etc. I would like to ask what is the best approach to check and run the scheduled events. The first (perhaps silly) thing that come up in my mind is to use a
7
9097
by: hgirma | last post by:
Hello Gurus, Is it possible to schedule a task to run an application deployed using ClickOnce? The executable changes location with each update.. and if i were to run the executable directly, it's not considered as a network deployed application and it's not able to use any of the update features programatically.. any ideas? workarounds? thank you,
5
2195
by: NEWSGROUPS | last post by:
I have some users that continuously end task on my database when a search takes to long. In turn corrupting the application. Is there any way to prevent this? The Microsoft KB for Methods That Can Be Used to Prevent Corruption suggests not allowing Task Manager to shut down the application but gives no way to prevent this. Any suggestions would help. Thanks in advance, Mark
2
13671
by: Jack | last post by:
Sorry for the double post (also in the IIS group). We've got an ASP.Net 2.0 app running on IIS6. We kept losing sessions, and enabled health monitoring to see what was happening. This morning the got the following in the logs. Any idea what would cause it? Event code: 1002 Event message: Application is shutting down. Reason: Hosting environment is shutting down. Event time: 7/17/2007 10:28:37 AM
1
2306
by: boanet | last post by:
I am trying to produce a scheduling form and having trouble figuring out how to approach it. Any advice would be great. Basically I created a form showing a list of tasks that need to be completed. In the header section I put a series of unbound text boxes 8-12 total showing the next 8-12 Friday weekending dates. In the detail section under the corresponding week ending the user would enter the hours budgeted for that week. An individual task...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8831
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8245
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4877
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2787
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.