Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
0 answers
20 views

Set the shutdown and sleep (physical buttons) to 'Do Nothing' on Windows 10/11 (Desktop/AC PC only) [closed]

Note beforehand: I'm not looking for user-GUI actions; I need software (any script, open-source, or free software) I'm looking for set the shutdown and sleep (physical buttons) to 'Do Nothing' on ...
Kunta Kinke's user avatar
0 votes
1 answer
40 views

shutdown android os using flutter when press btn in android 8.1

I am developing a Flutter application and need to implement a feature that allows the app to be shutdown entire mobile. I am targeting Android 8.1, and I want to know the best approach for achieving ...
Infinity Bot's user avatar
1 vote
2 answers
110 views

How to run script with elevated privileges on Shutdown using gpedit.msc on Windows 11?

I can't run a bat file on Shutdown on Windows 11. runAs.bat: PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy ...
Dan's user avatar
  • 2,465
1 vote
0 answers
42 views

Can I run bat to shutdown PC without admin right? [closed]

I got a script that should put the PC to shutdown everyday at 19:00 but it does not work. @echo off set SHUTDOWN_TIME=19:00 schtasks /create /tn "DailyShutdown" /tr "shutdown /s /f /t ...
Angie Siu's user avatar
0 votes
0 answers
40 views

.Net Kestrel - Take control over the shutdown process

I have a .Net service that functions as a bridge between RabbitMQ and another service. Messages are received and forwarded; Replies are received and delivered to RabbitMQ. Internally I have some ...
JesperGJensen's user avatar
0 votes
4 answers
70 views

How to write to worksheet during add-in unload (shutdown)

I have an Excel VSTO add-in written in vb.net. I want to write a message to the active workbook and active sheet when the user unloads the add-in. I get a COMException HRESULT: 0x800AC472 when I try ...
NeilK's user avatar
  • 21
-1 votes
1 answer
37 views

Why does Virtuoso automatically stop running for a period of time after starting in CentOS

In the bin directory of Virtuoso, use the command nohup ./virtuoso-t -fd +configfile /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.ini & to start Virtuoso. After a period of time, ...
cooldream2009's user avatar
0 votes
0 answers
117 views

Docker Container Running Flink SQL Client Shuts Down Immediately Despite Interactive Setup

I'm trying to run a Flink SQL client inside a Docker container using a custom Dockerfile and entrypoint script, but the container shuts down immediately despite being set up to run the SQL client ...
MrMinty's user avatar
  • 83
-1 votes
2 answers
55 views

MySQL Server Shutting Down Unexpectedly on XAMPP

I'm encountering an issue where my MySQL server on XAMPP shuts down unexpectedly. The error message in the XAMPP control panel states Error: MySQL shutdown unexpectedly. This may be due to a blocked ...
Syed Abdul Wasay's user avatar
0 votes
0 answers
13 views

Seeking a method to "Close Thunderbird" upon receipt of a specific email

Using Thunderbird 115.11.1 (32-bit) on Windows, I have it set to remove msgs from the server at an interval and don't wish to change that. When travelling I use my phone to collect msgs. Often I ...
MarkDubya's user avatar
  • 319
0 votes
0 answers
29 views

Shutdown android programmatically [duplicate]

I am creating an android app in java. My app is a device admin and works in kiosk mode. I wish to create a battery protector that will automatically turn off the device if no charging and battery ...
kamillabaarnowak's user avatar
0 votes
0 answers
131 views

How to Detect PC State (Unlocked, Sleep, Hibernate, Shutdown) in PowerShell Script?

I'm working on a PowerShell script where I need to ensure that it only proceeds if the PC (OS- Windows) is in an active state, meaning it's not locked, in sleep mode, hibernating, or shutting down. ...
Rabins Rai's user avatar
0 votes
0 answers
11 views

Ask for help for the suddenly shut down of Jupyter Notebook

I want to change the startup path of my jupyter notebook and find it suddenly shut down after I click the shortcut icon. I can hardly find out why. What I did for the change was just to change the ...
Smith Sam's user avatar
0 votes
1 answer
26 views

Shutting down NameNode datanode resource manger etc immediately on running hadoop

C:\hadoop-3.3.6\sbin>.\start-dfs.cmd after running above command command prompt opens for datanode and namenode but it immediately shutdown what should i do java.io.IOException: All specified ...
Shraddha Dhakad's user avatar
1 vote
0 answers
34 views

VSCode - "Debug Stop" turns off MACs applications

Me and my collegue are facing a very weird problem. We are using Mac M2 with Arm chipset. And whenever we stop debbuging a docker container, for example: cmd+shift+p -> Debug: Start Debugging cmd+...
Michael Bat's user avatar
0 votes
0 answers
57 views

Excel shutdown when macro executed

I wrote short macro. It updates Power query table and after that pivot table which source is power query table mentioned above. ActiveWorkbook.Worksheets("Summary").ListObjects("Summary&...
Любомир Ламбов's user avatar
0 votes
0 answers
184 views

What is the command call when I click shutdown on Windows and how do I modify it?

I'm currently using Windows 10, I have a shutdown button like everyone have: I wonder what command does Windows call when I click this button, I know that there is a shutdown.exe file and the shutdown ...
John's user avatar
  • 34
0 votes
0 answers
35 views

weblogic abruptly stopped during deployment with fatal error

A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000001cfe87ea753, pid=30900, tid=0x0000000000000158 # # JRE version: OpenJDK ...
Barani r's user avatar
  • 2,347
0 votes
0 answers
47 views

Error message on shutdown - from unshown winform

My Winforms Application (consisting of multiple forms), throws an unexpected error during shutdown. The error is from a form that is not shown to the user (frm.show is not done) at any point of time. ...
IT Researcher143's user avatar
1 vote
0 answers
97 views

Metatrader 5 closes after initialization

I'm trying to initialize Metatrader 5 with Python and have it login. All seems to work fine. However, after it's launched metatrader and logged in to the trader account, Metatrader crashes and shuts ...
Zzanax's user avatar
  • 11
1 vote
1 answer
92 views

How can I find out when the computer shuts down after executing the shutdown command?

The user ran the command "shutdown -s -t 8000" on the command line. I need to write code in C# that will return the exact date and time when the computer will be turned off. I tried to get ...
FaceHoof's user avatar
  • 127
0 votes
0 answers
19 views

Timing issue while looping over the testing tool command line process

I developed a automation script in python for the testing tool. I created a command line process to execute the test using the tool in the windows system. I'm iterating with for loop using the command ...
vinoth aravind's user avatar
0 votes
0 answers
95 views

Android Dumpsys - How to obtain power on/off data from a year ago

Is it possible to run a command in adb shell, dumpsys perhaps that will show the power on off dates and times from a year ago ? I have run dumpsys and it has created a huge file with loads, 100's of ...
Phil 's user avatar
1 vote
1 answer
3k views

Close Tauri window without closing the entire app

I use Tauri in my Rust project, but it is not the main component and runs on another thread (on platforms where that is available). Closing the window currently stops the entire app (most of which is ...
gurkensaas's user avatar
0 votes
1 answer
255 views

What is the most appropriate way to shutdown the host system from within docker

My container runs a webserver and some sensors. It is intended as a edge compute unit for field use. I've had issues in the past with the none dockerised version, when it was turned off without using ...
Ben Bird's user avatar
  • 392
0 votes
0 answers
178 views

MariaDB always displays message Erorr:MySQL shutdown unexpectedly

I have a database called sik. to display the phpmyadmin page is very good, and opening another database is no problem, but there is one database called sik in my database, when it is displayed My ...
Lanz King's user avatar
-1 votes
1 answer
498 views

Get last Windows/PC shutdown time with VBA

Is there a way to get the last shutdown time of Windows with VBA? I would like to follow the start and the end of the working time. The start of the working time is done, the specified excel file ...
FoFE's user avatar
  • 43
2 votes
0 answers
163 views

Preventing DLLHost Process Shutdown or Keeping Explorer Window Responsive during Long-Running IExplorerCommand::Invoke Operation in C++

I have created a class that implements the IExplorerCommand interface. The Invoke() method in this class is being called from another process (DllHost.exe). In my case DLLHost.exe is called by ...
Jean-Milost Reymond's user avatar
-1 votes
1 answer
100 views

Will my heroku app be affected by adminium shutdown?

I got a shutdown notice about adminium, but I can't tell if my app is even using adminium. It's there, but I think it might be a remnant from when I first set the app up 6 years ago. Since, I've had ...
Nick's user avatar
  • 61
1 vote
0 answers
126 views

In Swift on macOS, how can I properly catch the powerdown event from NotificationCenter?

I know this has asked before, but I have not yet found an answer that has actually helped me. What I'm trying to do is write a launchd daemon in Swift, that will catch the shutdown notification and ...
Gregorio Litenstein's user avatar
0 votes
1 answer
554 views

Powershell Script - Shutdown PC after set idle time

I have to write a PowerShell script that will automatically be sent every hour from 9 PM til 4 AM through deployment software. This script should find out how long the PC is idle and if the idle time ...
serlag8622's user avatar
0 votes
1 answer
596 views

How to catch SIGTERM signal to process stuff in app and then terminate in Java

So basically my app does some processing of stuff in intervals every 1 second. I have to implement a SIGTERM signal to my app but I have to let the stuff that is currently being processed in app to ...
essaPL's user avatar
  • 11
1 vote
0 answers
77 views

Why does Python HTTPServer.shutdown not actually shutdown the server?

Consider a toy server serving a notification that it will quit in 5s at http://localhost:48555/q and 'Hello World' elsewhere. from datetime import datetime from http.server import HTTPServer, ...
lineage's user avatar
  • 875
1 vote
1 answer
202 views

How do I get the PowerShell Scriptin to give me a YES or NO option when I press CTRL+C instead of closing the process directly?

I am using the following PowerShell Script to be able to shut down the computer after a certain time. # Determine the path to a file in which information about a pending # shutdown is persisted by ...
Albie's user avatar
  • 49
1 vote
1 answer
1k views

How can we create a .BAT file that can turn off the computer after a desired time and show the remaining time on each boot?

I wanted to prepare a .BAT file to automatically shut down the computer after a desired time. And according to the information I got, I was able to create a code directory like the one below. But at ...
Albie's user avatar
  • 49
0 votes
0 answers
228 views

Sending an email upon system shutdown

I'm running a flask app, but the server it's running on has mandatory system updates and restarts that I cannot disable. I'm also not able to use auto-login, so I can't just have the app restart on it'...
MrPeriodical's user avatar
0 votes
0 answers
390 views

PowerShell : intercept Windows shutdown and prevent shutdown

I have a Powershell script that runs a process undefinitely. I want it to perform a few commands before the PC's shutdown. Here is the process I would like : User clicks shutdown button Windows shows ...
Silloky's user avatar
  • 330
0 votes
1 answer
133 views

How do I make my discord bot (Discord.js v14.9.0) shutdown, while it's using PM2

I am trying to make a kill switch for my Discord Bot that uses PM2 to keep it running. After I use the command, PM2 just restarts the bot. How do I kill the process until I restart it manually? What ...
Ujaan's user avatar
  • 1
0 votes
0 answers
324 views

I'm getting an error while trying to configure MySQL 8.0.33

Beginning configuration step: Stopping the server Setting innodb_fast_shutdown to do a clean shutdown (a full purge and a change buffer merge before shutting down). Starting process with command: C:...
Bianca Khambatta's user avatar
2 votes
0 answers
159 views

Gracefull shutdown when SSE stream is openned

I have an spring boot 3 back-end application, which does serve also some Flux (SSE, https://www.w3schools.com/html/html5_serversentevents.asp ) event streams. i.e.: @RequestMapping(path = "/...
Lubo's user avatar
  • 1,817
1 vote
1 answer
45 views

How to limited producer and read messages by consumers?

I want get application producer-consumer(with shutdown by signals) with Go. A producer constantly generate messages in a queue with a limit of 10. Some consumers read and process this channel. If the ...
d-velop's user avatar
  • 111
0 votes
0 answers
55 views

Shutdown in assembly [duplicate]

I just started programming in assembly, I started with a simple program with a print, input and new line function. Then I wondered how to shutdown the machine and I found this function online: ...
Federico Occhiochiuso's user avatar
1 vote
1 answer
164 views

There is a delayed shutdown function in windows shutdown -s -t , but is there a delayed switching-on?

For example, is there a command that allows you to turn on the computer (be it a remote computer connected to the network or your own), for example, after a reboot, after a specified, strictly defined,...
Das Alias's user avatar
-3 votes
2 answers
475 views

Blazor Server side app open in browser then shut down immediately if I'm having break points

Why does my Blazor Server side app open in browser then shut down immediately if I'm having break points? It just started to happen only when I'm having break points. Any help would be appreciated.
Wedad Shurrab's user avatar
0 votes
1 answer
58 views

Azure VM shutdown exception

I'm trying to create an automatic task for 2 DB machines in our Azure environment. I'm using the built in Microsoft tool inside of the machine properties. ( Tasks under the Autmation window). I need ...
Nahum's user avatar
  • 11
0 votes
0 answers
25 views

Is there a way to execute a code block when android device is about to shutdown

Is there a way for an app to detect android shutdown/restart and execute a code block? I have a problem at hand that specifically requires to send email before device is shutting down and was ...
Rizwan's user avatar
  • 70
3 votes
0 answers
299 views

Preventing Windows shutdown in Rust

I'm trying to require a user to confirm a Windows shutdown while my program is performing critical tasks. In order to do this, I want to listen for a WM_QUERYENDSESSION message (in a seperate thread ...
MrSchildkr's user avatar
0 votes
1 answer
402 views

Windows shut down through python

I'm using visual basic programs to create some files for my work, however, I'm learning python and want to use it to shut down my windows system after the visual basic program is completed execution
Abhishek Bajpai's user avatar
1 vote
1 answer
501 views

Graceful Shutdown inn Golang

I am trying to add Graceful shut down in one of my server. I know the code is working. I was hoping that after redeployment of the server, first the graceful shutdown work and then the server would ...
akash agarwal's user avatar
0 votes
0 answers
277 views

Suspend docker-compose container shutdown until result of a condition is true?

I have a docker-compose.yml file that defines a number of services. One is a redis instance, and another is a queue-worker. The queue-worker fetches jobs from redis and performs the necessary work. ...
Scratcha's user avatar
  • 1,401

1
2 3 4 5
26