my script: #!/bin/bash . /home/was/.bash_profile export PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/was/bin:/wasdata/oracle/10.2.0/client_1/bin:
I\'m开发者_Go百科 running a python script on a remote server with the time command as follows: time python myscript.py
I want a script which automates the running of big mathematical computing jobs on a remote machine. Currently I do this:
#!/bin/sh for i in {0..999} do if [$i lt10] then nohup java BeginIndex ~actors/00{$i} ~/index_new/ > ~/results/actors_results/00{$i}.txt
I hava a .sh script which glues many other scripts, called by jsch ChannelExec from a windows application.
According to this faq (and by many other books): ftp://rtfm.mit.edu/pub/faqs/unix-faq/programmer/faq 1.15 Why doesn\'t my process get SIGHUP when its parent dies?
In remote server, I have a script test.sh like: #!/bin/bash echo \"I\'m here!\" nohup sleep 100& From local, I run \'fab runtest\' to call the remote test.sh.
I have a script that takes a lot of time to complete. Instead of waiting for it to finish, I\'d rather just log out and retrieve its output later on.
# nohup svnsync synchronize svn://www.mysite.com/repos & I\'m running the above and it seems to be working fine (disk usage is increasing), but I\'m not seeing any logging in nohup.out
As far as I understood from the books and bash manuals is that. When a user logs out from bash all the background jobs that is started by the user will automatically terminate, if he is not using nohu