![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help using perl commandline for XML matching | x96riley3 | Shell Programming and Scripting | 2 | 03-28-2009 11:55 AM |
| using mutiple "nohup" to execute multiple commands. | aster007 | Shell Programming and Scripting | 2 | 03-06-2009 12:35 PM |
| HTML5 will incorporate high definition extensions | iBot | UNIX and Linux RSS News | 0 | 04-01-2008 07:10 AM |
| Documentation and books on Autosys Job Control Tool from Autosys | gram77 | UNIX for Advanced & Expert Users | 0 | 11-10-2007 06:24 AM |
| script to go to a different dir to run a commandline prompt in that dir | ann_124 | Shell Programming and Scripting | 2 | 11-29-2004 02:25 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How to incorporate mutiple commands in Autosys commandline on UNIX
Hi,
I am having a problem running multiple commands in a autosys command line. For example I would like to run a perl script first and then add sleep command after that in the same autosys job like below insert_job: xxxxxxxxx command: `perlscript.pl ; sleep 180` Perlscript.pl is a perl script. To make this question as simple as possible, the perl script just prints a simple line "Hello World" as shown below #!/usr/bin/perl printf ("Hello WORLD\n"); exit(0); When I run the above autosys job, it appears to work and sleeps for 180 seconds / 3 minutes. But after 3 minutes it fails with the error in the error log reading "/bin/sh: line 0: exec: Hello: not found" Why does this happen. Is there any other way of having mutiple commands in a Autosys commanline ? Your help is greatly appreciated. thanks waavman |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|