0
votes
2answers
575 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 ...
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 ...
0
votes
1answer
204 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 ...
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 ...