Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-01-2005, 03:53 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
Batch Processing


I want to run a job in the background, i.e. after I have logged out.
I use a '&' after the command to make it work. But recently I created another account and it does not work there. I will really appreciate if someone can help me with this.

Old 10-11-2013, 10:45 AM   #2
LQ Newbie
Registered: Sep 2013
Distribution: Debian
Posts: 13

Rep: Reputation: Disabled
Hi Ankan

You need to use nohup:

$ nohup yourcommand &
Look in the man page for more information. If you run it like in my example, all output will be saved in nohup.out.
Old 10-11-2013, 10:47 AM   #3
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,487

Rep: Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907Reputation: 907
Alternatively run your job from the cron, specifying the date as well as the start time if you only want to run it once.

Edit: LOL, I just saw the date on the OP..... I hope he's solved his problem in the last 8 years!

Last edited by TenTenths; 10-11-2013 at 10:48 AM. Reason: OMG!!!! E-cheology
Old 10-11-2013, 10:52 AM   #4
LQ Newbie
Registered: Sep 2013
Distribution: Debian
Posts: 13

Rep: Reputation: Disabled
Well, you never know :-)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Processing joelhop Linux - General 8 01-01-2006 08:08 PM
how to do batch processing with time out? Franziss Programming 4 11-30-2005 10:17 PM
Document processing youngri Linux - Software 2 01-18-2005 11:26 PM
PHP.. not processing? digitaloutsider Slackware 2 04-29-2004 07:45 PM
Tune Linux pipe size for batch processing tana Programming 5 12-27-2002 01:09 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration