09-19-2007
Try running it from a shell without job control, such as 'sh'.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Using nohup it sends output automatically to $HOME/nohup.out - how do I direct this output to another named file instead, so I can run several scripts in the background at once, directing their outputs into individual log files?
Cheers (3 Replies)
Discussion started by: miwinter
3 Replies
2. Solaris
Hi,
I am working in SunOS 5.8.
I wanted to run a script in background and I gave the following command, but it is not working.
I gave "nohup ksh ULOAD.ksh &"
It just came out giving a msg "Redirection or piping of stdin or stdout is allowed only with -b. (156)" in nohup.out file.
If I... (2 Replies)
Discussion started by: arsheshadri
2 Replies
3. UNIX for Dummies Questions & Answers
I find that if I use nohup (in bourne shell script) then all the interactive parts in my code are gone hidden... e.g., the places asking input from the user (such as ckyorn) will not be displayed. This is no good.
Is there a way to use nohup (or similar utility) and meanwhile, to keep the... (9 Replies)
Discussion started by: bluemoon1
9 Replies
4. AIX
I have a program which writes to nohup.out ...
over the time this nohup.out becomes a large file and i cannot read the contents of this file using a vi editor.... whe i do a vi nohup.out it gives an error insufficient memory....
do i need to clean this nohup.out periodically ( or compress it... (5 Replies)
Discussion started by: ramky79
5 Replies
5. Shell Programming and Scripting
Hi all,
I wrote a scirpt (abc.sh) in which I defined a loop with an interval equal to 1 hour. I want this script continue to run when I close the terminal, so I ran the following command,
(in the proper directory)
nohup abc.sh
However the script doesn't just keep running when I... (1 Reply)
Discussion started by: isaacniu
1 Replies
6. Shell Programming and Scripting
Hello, I am trying to run a shell script with the nohup command. The shell script takes an array of files, runs a python program on each file in a loop, and appends the output to a file. This works fine on the server, but if I try to use the nohup command it does not work.
---
#!/bin/sh... (10 Replies)
Discussion started by: ricitron
10 Replies
7. Shell Programming and Scripting
Please I have run a background script using nohup please tell me way to stop this. Thanks in Advance (4 Replies)
Discussion started by: mumakhij
4 Replies
8. UNIX for Dummies Questions & Answers
Hi Every one , i wrote a script for nohpu ,which checks the service by using the port number and starts if it doesnt hear the port. It works good untill i colse the session. how to make it work even after closing the session .And aslo how to deamoize this script
#!/bin/bash
netstat -ptlen |... (2 Replies)
Discussion started by: vikatakavi
2 Replies
9. UNIX for Dummies Questions & Answers
Hi. I am trying to start a script on my router that will execute even if i log off. To execute the script I write:
nohup ./dslconnection > dslstat.out 2>&1 &
It starts the job:
21968 admin 1604 S /bin/ash ./dslconnection
The problem is that when I log back in the job has been... (6 Replies)
Discussion started by: sebcou
6 Replies
10. Shell Programming and Scripting
Shell : bash
OS : Oracle Linux 6.4
I want to save the ouput of a nohup command to file other than nohup.out . Below are my 3 attempts.
For both Attempt1 and Attempt2 , the redirection logs the output correctly to the output file. But I get the error "ignoring input and redirecting stderr to... (7 Replies)
Discussion started by: kraljic
7 Replies
LEARN ABOUT DEBIAN
globus-job-clean
GLOBUS-JOB-CLEAN(1) GRAM5 Commands GLOBUS-JOB-CLEAN(1)
NAME
globus-job-clean - Cancel and clean up a GRAM batch job
SYNOPSIS
globus-job-clean [-r RESOURCE | -resource RESOURCE]
[-f | -force] [-q | -quiet] JOBID
globus-job-clean [-help] [-usage] [-version] [-versions]
DESCRIPTION
The globus-job-clean program cancels the job named by JOBID if it is still running, and then removes any cached files on the GRAM service
node related to that job. In order to do the file clean up, it submits a job which removes the cache files. By default this cleanup job is
submitted to the default GRAM resource running on the same host as the job. This behavior can be controlled by specifying a resource
manager contact string as the parameter to the -r or -resource option.
By default, globus-job-clean prompts the user prior to canceling the job. This behavior can be overridden by specifying the -f or -force
command-line options.
OPTIONS
The full set of options to globus-job-clean are:
-help, -usage
Display a help message to standard error and exit.
-version
Display the software version of the globus-job-clean program to standard output.
-version
Display the software version of the globus-job-clean program including DiRT information to standard output.
-resource RESOURCE, -r RESOURCE
Submit the clean-up job to the resource named by RESOURCE instead of the default GRAM service on the same host as the job contact.
-force, -f
Do not prompt to confirm job cancel and clean-up.
-quiet, -q
Do not print diagnostics for succesful clean-up. Implies -f
ENVIRONMENT
If the following variables affect the execution of globus-job-clean.
X509_USER_PROXY
Path to proxy credential.
X509_CERT_DIR
Path to trusted certificate directory.
University of Chicago 03/18/2010 GLOBUS-JOB-CLEAN(1)