Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running job in background

Status
Not open for further replies.

rtnMichael

Programmer
Aug 5, 2002
152
US
hey,
I want to start up a job, but it will run only once, but continuously. Once I start it, it has to run until there's an interrupt, or an error while running. How would I do it, without the use of a cron, but not using a terminal that I'll end up terminating?

Thanks
M
 
Two ways.

nohup command &

or

echo "command" | at now
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top