1,524 questions
3
votes
4
answers
184
views
How to restart an application from a "reset" command : goto reset handler (SMT32F401)
I'm writing C code, with Rowley CrossStudio 5.3.0, for a board with an STM32F401, that "do things" after receiving commands incoming from a RS485 line.
The board has a bootloader code at ...
0
votes
1
answer
37
views
PowerShell - Error message when looking for systems
I have written a script for restarting computers on a network. I have it working just fine, the one issue I am running into is error messages popping up in the host. The script pulls a list of system ...
1
vote
0
answers
390
views
Using SCCM to force a reboot via powershell doesn't show the countdown
I'm trying to trigger the SCCM reboot countdown timer on a Windows machine using PowerShell. The countdown window appears as expected, but when the timer reaches 0, the system does not reboot. Instead,...
0
votes
0
answers
70
views
flink restart strategy issue
When I submit a job to a Flink 1.19.1 Standalone Cluster and configure the Fixed Delay Restart Strategy, I intentionally use numeric/0 in the job to trigger an exception. However, during the next ...
1
vote
1
answer
158
views
Restart the computer Twice using combination of Batch or VBS, and PowerShell scripts on Computer
I aim to create a PowerShell Script that restarts the computer twice; however, I have some doubts about this way that I am aiming to do this task. I write the following script with a Start-Sleep in ...
0
votes
1
answer
149
views
How to wait for external Docker service to be healthy before starting another container?
I have Pi-Hole and Homepage running as separate docker-compose.yml files.
When I reboot my Docker host, Homepage finishes loading before Pi-Hole. The problem is that Pi-Hole is my DNS server, and the ...
0
votes
1
answer
793
views
Restarting failed tasks in Databricks workflow
We have a requirment to restart the Azure databricks notebooks running from databricks workflow from the point of failure.I have gone through the repair and rerun concept in databricks and did a ...
1
vote
1
answer
222
views
How to add play again feature into snake game
The majority of this code is from Bro Code's Python tutorial on how to make a snake game in Python. I decided to add a "Play again?" button on the game over screen, and when pressed would ...
1
vote
1
answer
821
views
PromQL number of Pod restarts last hour
Looking to return the number of Pod restarts per Namespace in the last hour (or 24 hours).
Working in an Openshift Kubernetes environment with Grafana for development and display.
Using ...
0
votes
1
answer
101
views
Restart my app after an hour in the background
I want to restart my application when the user has the app in the background after one hour. I already did some research and I use a Service:
public class BackgroundService extends Service {
...
0
votes
1
answer
560
views
Limit container restart time(or count) inside a pod (deployment)
I have a problem with the container restart duration. For me 1 minute between container restart time is acceptable but based on the container restart policy the wait time increases after each restart....
1
vote
2
answers
350
views
restart-computer with logs or result
I need to restart 5 or 6 computers at the same time.
It works nice with the command restart-computer. But I want to add -wait to be sure each server has restarted.
So, of course, I can do something ...
0
votes
1
answer
83
views
Taskill & program restart on multiple computers with Powershell
I am looking to kill and restart a specific task if it is anything other than running on multiple remote machines without using WinRM or pskill. I have come up with the following code.
When the task ...
0
votes
1
answer
29
views
Why did the "root may not be ready" error keep appearing after restarting Apache IoTDB?
Why do I keep getting this error when writing data after I restart Apache IoTDB, causing the data writing progress to fail? The error message is: [ERROR] 2023-09-15 15:44:00,692 [pool-2-thread-9:28321]...
0
votes
0
answers
29
views
The spider (scrapy) does not restart [duplicate]
I am trying to restart my spider once every 30 minutes, for parsing a website, to which I get an error. The first launch is successful, the next one is an error. Spider Code:
def run_spider():
...
0
votes
0
answers
138
views
Proper way to detect and revive Quartz scheduler if it suddenly dies
I have been using Quartz Scheduler in my Java Wildfly backend application for 2 years now (and before that in another project). I use it to trigger integrations with other systems on a minute/hourly/...
0
votes
0
answers
138
views
Intellij restart
I'm having trouble restarting my project when I run it even with springboot dev-tools and IDE configured to do so.
GitHub's link from the project.
Attached are prints of my IDE settings.
Build ...
1
vote
2
answers
3k
views
I am trying to reload Expo App on button click, what is the best way to achieve this?
I am using Expo App and have a screen where user can change the language.
When selecting language change user will be asked to confirm the selection. Upon confirming I want to reload the app.
I tried ...
1
vote
0
answers
87
views
Docker: container exits, but it still looks like running
I have a Docker service (specifically MongoDB). After some kind of failure (specifically No space left on device), it gets weird:
Command docker-compose logs --follow --tail=10 -t service-name exits ...
-1
votes
1
answer
63
views
Quitting and restarting
I have this bash script that restarts/monitors myscript
while { myscript; rc=$?; true; }; do
echo "'myscript' crashed with exit code $rc. Restarting..." >&2
sleep 1
done
...
0
votes
2
answers
1k
views
Kernel Restarting Issue for Paddle OCR
The kernel for mynotebook.ipynb appears to have died. It will restart automatically.
from paddleocr import PaddleOCR, draw_ocr
ocr = PaddleOCR(use_angle_cls=True, lang='en', use_gpu=False)
result = ...
2
votes
0
answers
104
views
How to trowbleshoot an issue with Jenkins master, which cannot restart?
Jenkins doesn't come back after restart from the URL. But when you go on the machine and look at the jenkins service it is running. This is what can be seen in the jenkins.wrapper.log:
2023-05-23 08:...
0
votes
1
answer
3k
views
Django: How to automatically restart gunicorn after my code changed
I'm developing a Django website, in which top menu should reflect changes in the page structure. In some sections (such as "About") changes are rare, so the menu is kept as a separate HTML ...
0
votes
1
answer
311
views
Restart policies in docker container
I enabled docker container to restart automatically during crashes/system reboots etc.
For this we applied the docker restart policy to always for an already running container .
Sent a SIGHUP signal ...
0
votes
1
answer
706
views
Jenkins agent templates lost after jenkins controller pod restarts
Setting up custom build agents using Kubernetes plugin on Jenkins represents a major issue.
Every time the Jenkins master node restarts, the custom agent templates defined in Manage Jenkins > ...