Hi, I was told that to shutdown an ASP.NET site and replace all pages with a static text one should add an HTML file with a special extension. But my google/bing skills are not good enough, can you please help me with this?
Thanks
...
What I want
I'm developing a little app to force me to only work at certain times of day - I need something to force me to stop working in the evenings so I can be more effective in the day.
The option within OS X to shut down my machine at a certain time is too easy to cancel. And you can always log back in afterwards.
I want my app ...
I work on a folder and tomcat recognizes the folder. But, when I shutdown and restart tomcat it is taking time to recognize the same folder. Can anybody tell me why?
I see the error report in catalina.out. It gives a list of errors but finally says
Nov 22, 2009 2:08:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup i...
Is there a way to do it in c# or vb.net? I have to bring a system out of standby and play a notification sound if it is in standby mode, at specific time intervals. Is this possible?
...
I'm currently working on a daemon that will be doing A LOT of different tasks. It's multi threaded and is being built to handle almost any kind of internal-error without crashing. Well I'm getting to the point of handling a shutdown request and I'm not sure how I should go about doing it.
I have a shutdown hook setup, and when it's call...
In the second example (in the section examples) on this link, there is a description on using WM_QUERYENDSESSION to abort a shutdown. It also states that this does not work on versions of windows later than XP. This is conflicting with the advice given on another question here at stackoverflow. What is the correct answer? I do not have a...
I want to be able to automate startup and shutdown of a Windows XP VM running under Hyper-V on Windows 2008.
The VM should only be available during office hours. Its a standard Windows XP (SP3) installation. So the VM should startup at 8am and shutdown at 6pm (regardless of any running applications) according to a schedule that I can e...
I'm looking for a best practice on shutting down an OSGi container.
Currently we are using a small launcher app which calls EclipseStarter.startup() and installs some core bundles. After that the launcher terminates.
When the test GUI (running as a bundle) is closed it calls a System.exit(0) to shutdown the container, but there must be...
Hi,
I have an application which when I close the Windows, it exits gracefully and quickly (checked also in Task Manager and Process Explorer - the process isn't there anymore) but the OS doesn't. It seems that OS just ignores the Shutdown.
But if I try to close once more the Windows, now everything is ok. The system shuts down in a ve...
I need to figure out how to shut down the computer from an Adobe AIR application. I have been trying to figure out how to do this, and without success.
...
Hi all,
I am trying to make an application using AppleScript which can remind to check my mails, if I forget to check, at shutdown.
I took help from this link: http://discussions.apple.com/thread.jspa?threadID=1375949&tstart=0&messageID=7088687#7088687
In this link they have suggested that I can run a quite application which c...
I'd like to know what is the Windows API function (if any exists) that provides information about the last Windows reboot source. There are three main possible causes:
The computer crashed on a blue screen
A user or a program shutdown/restarted the computer
A power lost
The more details I can get the better. However, I need to know a...
Hi,
I am running tomcat6 on ubuntu9, and i specified shutdown port in server.xml to 8005.
When I do netstat -tln however, i cannot see port 8005 listening.
I can do tomcat6 restart|start|stop no problem.
Why is it not listening on port 8005?
Thanks
...
I have small app with a Window that is listening for the WM_QUERYENDSESSION message and returning FALSE - which should tell Windows that I don't want it to shutdown (see this MSDN link).
What I have found is that even though I am asking Windows to not shutdown, and Windows is itself not shutting down, it is still sending the WM_ENDSES...
I'm using derby as an embedded database. Furthermore, I'm using it's in memory database option for my unit tests.
What I can't figure out is how to properly shut down (A quick look at the code) the derby database. I beleive I have it working for a standard database but I'm getting different exceptions when attempt similar code on a in-...
I use a call of shutdown.exe to reboot machines having different versions of Windows installed.
For Windows XP the command is:
shutdown.exe -r -f -t 01
For other versions of Windows I use:
shutdown.exe /L /R /C /Y /T:1
Now it seems, that the second command won't work on Windows XP. Does anybody know which versions of Windows suppo...
I have a multi-threaded program, where I have one thread to watch over several threads. The functioning is designed like this:
Main program does initiation and starts Watcher Thread, in void Main(), I have the line
Runtime.getRuntime().addShutdownHook(new Thread(new ShutdownThread(), "Exit Listener"));
When I don't start the watcher ...
I know that shutdown -a will abort a Windows shutdown, but I need to know if there is anything any where I can check for to see if a shutdown is in progress.
Ideally, I'd like a small program like this:
import os
while True:
shuttingDown = <shutdown variable to check>
if shuttingDown:
os.system("shutdown.exe -a")
...
I need a way to determine from a Cocoa app if a given process name is running. One idea I had was to use NSTask and poll using ps aux | grep processName. Is there a better solution?
...
I have a network set up in my room with three pc. One is running a linux and other two windows. is there any way i can powerdown the other pcs by just issuing a command from the linux computer???
...