Questions tagged [background]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 views

Screen inside Mac OS seems to go idle

We have Mac Mini with a classic Mac OS install (12) that runs a command every x minutes within a screen instance using a pipenv command that look like this. [scripts] some_pipenv_command="sh -c '...
AsTeR's user avatar
  • 257
0 votes
1 answer
207 views

In Linux/bash how can I prevent asynchronous commands?

I have a makefile that calls external build scripts. Some of these scripts (which I can't change) make use of commands that are forked / backgrounded (or asynchronous as the bash manual names them) ...
Jay M's user avatar
  • 398
0 votes
0 answers
302 views

How to deal with an ExecStart-script, that backgrounds the actual task and exits?

I'm trying to create a systemd-service for a vendor-provided shell-script, which exits after launching the actual service (a Java-program). I don't want to put the program itself into ExecStart, ...
Mikhail T.'s user avatar
  • 2,377
0 votes
0 answers
516 views

Windows 10 GPO Ease of access disables background by default

I have deployed a specific desktop background image for all users of our domain via GPOs. This does work like a charm, yet "ease of access" defaults displaying of a desktop background image to "...
x3l51's user avatar
  • 131
2 votes
4 answers
876 views

Running an application in background

I have a web app on a freebsd server. An app is a single executable file, with a built-in webserver. My default shell is zsh. When I'm running it as "./my_website &" and close a connection, it ...
Dari's user avatar
  • 121
0 votes
1 answer
3k views

Can't Remove Windows GPO Wallpaper Restriction

As a small prank on one of my coworkers I created a group policy object that forced a specific wallpaper (Desktop Background) on her profile whenever she logs in. Laughs were had by all. I deleted ...
Brent's user avatar
  • 107
-2 votes
1 answer
176 views

How to resume then send a program back to the background

I know I can run something in the background by adding & to it, such as tail -f log.log I can then resume or send the job to the foregrond with fg However, once I do this, how do I send it to ...
Startec's user avatar
  • 107
1 vote
1 answer
46 views

Cannot reproduce a GPO effect due to server version?

I am running a domain with functional level Windows Server 2008 R2, within this environment I have host machines that run Windows Server 2012 R2. This environment is running nothing custom everything ...
user305997's user avatar
0 votes
1 answer
1k views

How to run Azure cmdlets in background?

Several Azure PowerShell cmdlets have very tedious run times; a trivial task such as setting a static IP address on a virtual machine can take more than a minute (I guess this is because the cmdlet is ...
Massimo's user avatar
  • 71.3k
0 votes
2 answers
1k views

Ubuntu server terminating background process when last ssh closed

I have an Ubuntu 14.04 server and I am trying to start Apache Karaf from a ssh, exit the ssh and expect Karaf to remain execting. What I actually find is that as soon as the last ssh is closed/logged ...
D-Dᴙum's user avatar
  • 153
3 votes
4 answers
9k views

How can I run a python script on Windows machine from Linux using ssh as a background task?

I have to orchestrate some script tasks among few Linux machines and a Windows machine. ssh works fine for linux machines suing below: ssh mysuser@targetLinuxmachine "python '/pathtomyscript/myscript....
MRK's user avatar
  • 33
3 votes
1 answer
379 views

Run program on "Reconnect Session"

I just implemented BackInfo on our servers, deployed via GPO. Everything is working as intended while users and administrators log on and off. Problems arise when a user disconnects and reconnects an ...
Simon L's user avatar
  • 113
-2 votes
3 answers
237 views

How to find all process started by another one in linux [closed]

I run Counter-Strike servers in linux based os (ubuntu, centos) by web script. I need to find all running process from hlds_linux process (he's started another two with name hlds_run) Safe mode is ...
Georgi Rakovski's user avatar
0 votes
0 answers
912 views

Tcpdump stops capturing wifi data while running in the background

I have a problem capturing wifi data using tcpdump while running in the background. OK, lets get some facts: my wifi-device is named wlan0 wlan0 is in monitor mode (that's what I want) I'm using ...
Mitch's user avatar
  • 1
-1 votes
2 answers
604 views

Monitor the background in Windows or the Windows login screen from changes

This isn't a typical question and I thought of posting this to Programmers Stack Exchange, but I believe here is more fitting. What I want to do is monitor the Windows background or Login screen from ...
Chris's user avatar
  • 195
1 vote
1 answer
6k views

use correct-resolution background desktop image

I have a desktop background image (a picture) in a half-dozen different resolutions, that I'd like to deploy to a disparate collection of computers with different monitors and video cards and whatnot. ...
Rob Bos's user avatar
  • 874
4 votes
1 answer
3k views

PHP Apache XAMPP Run Multiple Scripts from CLI in Background

How can I simultaneously run dozens of PHP scripts in the background from XAMPP's command line interface? Someone suggested a batch file, but when I tried executing this: start php 1.php start php 2....
Pamela's user avatar
  • 187
2 votes
1 answer
4k views

Windows 7 Desktop background picture in Group Policy displaying black - XP working correctly

We want everyone on the Windows Domain to have the same desktop background. This is set up in a Group Policy. This works great in Windows XP but the Windows 7 machines display a black background. I ...
Shawn Gradwell's user avatar
1 vote
2 answers
1k views

Shell Script Launching Child Processes

Disclaimer: I'm totally new to shell scripting, but have quite a bit of experience in other languages like PHP and Obj-C. I'm writing my first daemon script. Here are the goals: I want it to run in ...
Matt James's user avatar
15 votes
5 answers
7k views

What is the best way to run a remote ssh command in background but still displaying?

I need to run SSH commands remotely with the output displaying locally. But if the connection breaks I want the command to still run. I am not talking so much about logging in and executing but doing ...
vfclists's user avatar
  • 1,652
0 votes
1 answer
594 views

Shutdown server in background using PHP

I'm trying to shutdown an Ubuntu machine from PHP and am running into an issue if I want to delay the shutdown. The PHP line I'm using is: exec("sudo shutdown -h +5 &", $output); Where 5 is ...
William W's user avatar
  • 127
7 votes
2 answers
8k views

Start Sinatra app in the background with stdout and stderr redirected (append) to a file

I have a Sinatra app which I run on my local machine using ruby app.rb. While deploying it on a remote machine via ssh, how do I run it in background and redirect stdout and stderr to a log file? On ...
letronje's user avatar
  • 429
1 vote
5 answers
288 views

Is my dev trying to milk me for more cash? (cron jobs and webhosting) [closed]

I've purchased hosting for a site I'm having developed from Hostgator. However, the developer is saying that the site he is developing for me can not be hosted there because he needs to be able to ...
user avatar
39 votes
7 answers
59k views

If I launch a background process and then log out, will it continue to run?

Asking this after a prolonged discussion with a coworker, I'd really like a clarification here. I launch a background process, either by appending "&" to the command line or by stopping it with ...
Massimo's user avatar
  • 71.3k
2 votes
4 answers
1k views

put a job in the bg and run it?

I know there are two or more ways to run a job and place it in the background. Right now I used ctrl-z to put a scp transfer in the background because I noticed it was going to take a while. How do I ...
user avatar
2 votes
3 answers
3k views

Is there any way to launch screen with a background process but have it not terminate when the process exits?

Launching a screen session with a background process using -d -m causes the screen session to terminate when the process exits. Is there any way to get the screen session to stick around after the ...
fields's user avatar
  • 690
1 vote
2 answers
302 views

How can you see the processes which you put to background?

This question is based on this thread. How can you see the processes which you put to background?
Léo Léopold Hertz 준영's user avatar
1 vote
3 answers
247 views

Unable reset settings in .bashrc without stopping updates

I am updating my ports in MacPorts which may take a day. I have changed my dot -files. I would like to test them without shutting the updates down. I have ^Z the installation and restarted my shell. ...
Léo Léopold Hertz 준영's user avatar