The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
55 views

zsh function cannot be used in tmux

I wrote up a special function to wrap a command, in ZSH, so it doesn't output any warnings and runs the process in my background. This command works great without tmux, but when I try to use it in a ...
0
votes
0answers
48 views

How to automate a number of steps in MVC3 web app?

I have user uploading files to the web servers. (C# + MVC 3) User can upload many files in a session. All uploads in the session goes to a specific folder and database table (queue) is updated with ...
0
votes
2answers
558 views

Linux (Ubuntu) Run program in background

I try to run a PHP script in background on my Linux server over SSH ( Putty ) but I'not get this to work. The commando I want to run in background is: php buildscript/build_css.php as ...
0
votes
1answer
1k views

How to programatically allow a Windows 8 app to run background tasks?

When you run a Windows 8 modern UI (previously called Metro) app that has background tasks, you must explicitly choose if it is allowed to run background tasks. Is there a way to automate this? I ...
1
vote
1answer
110 views

Jobs in other session

Imagine this situation, I open an ssh session, in that session I start a process and put it on background, with & or ctrl+z, then I close this session. There is some way to open another session ...
7
votes
2answers
2k views

Will a job put in background continue running after an SSH session is closed?

I have an AWS instance, and there I some tasks that I need to complete that will take some time. If I run these before commuting to/from work (e.g. wget <someStuff>), then commit it to ...
1
vote
3answers
521 views

Background job in bash is shutting down when the firing window is closed: how to avoid this?

You can go quickly to the question starting reading from 'Having said that' The following are details on my specific needs I'm on lubuntu oneiric and trying to create a desktop launcher to start / ...
0
votes
0answers
879 views

bash: redirect the stderr/stdout of a running process?

I have a running process running in a bash terminal that is printing some prompt, and I would like to send it to the background with the stderr/stdout prompt that is printing either redirected to ...
1
vote
1answer
476 views

Background Jobs from cron

I am running a cron on every two minutes. From the cron I am running other shell scripts in background with "&". After cron exits spawned shell script process still runs, this is desired behavior. ...
20
votes
5answers
10k views

How can I trigger a notification when a job/process ends?

The place I work has commands that take a long time to execute. Is there a command/utility that I can use to notify me when the command execution is over? It could be a popup window or maybe a ...
4
votes
2answers
2k views

How to get a trace of the process history in Windows 7?

I recently noticed that there's a program which shows up on task-bar and disappears momentarily (No window shown). This happens periodically. I want to find out what process this is. Is there a way to ...
0
votes
1answer
109 views

How can you determine when a background task was started?

When surveying the output of jobs in bash, you'll often get a list like the following: [root@csx-tzg-sac-01 ~]# jobs [2] Running ( sleep 600 && ls -lh ~ossadmin/*.iso ) ...
0
votes
1answer
199 views

Force a backgrounded complex task to fg itself

I will often run a simple monitoring task like the following: (sleep 600 && ls -lh /path/to/files)& Is it possible to have the process de-background itself part way in? For example, to ...
1
vote
1answer
314 views

exit nicely from a bash script

I'm implementing the logging solution presented here and I don't know if the following lines are required whenever I exit the parent bash process/script: if [ -n "$teepid" ]; then exec ...
3
votes
2answers
3k views

Start Thunderbird in the background to fetch email and close it a few minutes later

In GNU/Linux, how can one start Thunderbird in the background, let it run for a few minutes for emails to be fetched, and close it afterwards?
3
votes
4answers
5k views

How do I keep jobs running after logout? [duplicate]

Possible Duplicate: How do I fork a process that doesn't die when shell exits? Sometimes I remotely connect to my Ubuntu using NX. I then run some jobs in the background, e.g.: $ ...
9
votes
6answers
4k views

Running commands in parallel with a limit of simultaneous number of commands

Sequential: for i in {1..1000}; do do_something $i; done - too slow Parallel: for i in {1..1000}; do do_something $i& done - too much load How to run commands in parallel, but not more than, for ...
6
votes
2answers
5k views

Put a task to the background with bash

I know that you can start a background job with Bash doing foo &. However, the best way I know to put a foreground job to the background is to do Ctrl+z to pause it then bg 1 to resume it in the ...
1
vote
3answers
1k views

questions about bash background job

(1). Since background job can still run even if the user logs out, what's the point of using nohup and screen? (2). What is the difference between CTRL+Z and stop to suspend a background job? There ...