-   Linux - Software (
-   -   running jobs on the background (

feetyouwell 08-02-2005 08:58 AM

running jobs on the background
I've got a question, i normally ssh to different computational servers here to run my jobs, i have a job now it will run estimately for 6 days, normally if i open up a terminal and ran anything off the server, the process will be terminated as well as I end the session, some of my friends suggested using "at" to run job at a scheduled time, well i am lazy to learn how to use "at", is there any other easier way? (& won't work, have tried)

druuna 08-02-2005 09:27 AM


Take a look at nohup.
This runs a command, immune to hangups, with output to a non-tty.

Hope this helps.

feetyouwell 08-02-2005 10:13 AM

thanks for the answer, i will give it a try sometimes,
my friend actually came to help me out with "at"

at -s -f <shell_script_to_call_my_job> now
and it worked beautifully

druuna 08-02-2005 10:36 AM


It's nice to read you got it working.

Do give nohup a try, it's easier then at (nohup <script>).

All times are GMT -5. The time now is 09:36 PM.