![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shell script takes long time to complete | ozzman | Shell Programming and Scripting | 12 | 02-05-2007 07:25 PM |
| ls -t arg list too long | CSU_Ram | UNIX for Dummies Questions & Answers | 4 | 05-05-2005 07:19 AM |
| C long long HP-UX | Shobhit | High Level Programming | 1 | 04-19-2002 09:33 AM |
| arg list too long | vingupta | UNIX for Dummies Questions & Answers | 5 | 08-02-2001 08:43 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
A very long script.
Hello,
I wrote a script, which would ideally take about 480 hours to runs (It has to do a same thing 60 times.) But the problem is I have to use a VPN Client to get to the network before connecting to the machine. The Client automatically closes after 10 hours, closing my console and thus my script. So my question is: Is there some way by which I can run the script as a batch process in the background so that closing of the console doesn't affect its running? My script invokes a few programs (matlab compiled programs and the FE package ABAQUS) which produce a few warning messages. Thanks -sakya |
| Forum Sponsor | ||
|
|
|
|||
|
You can use cron
Just add this script in /etc/crontab and reread config this command # crontab /etc/crontab to launch script under your account If it must be runing under root account - don't rereading config (OS will be doing this itself) |