Search Results

Search: Posts Made By: arex876
7,666
Posted By arex876
My job fails when I used Export in my profile ...
My job fails when I used Export in my profile


#!/bin/sh
TEMP_DIR=/tmp;
SCRIPT_DIR=/home;
export OUTPUT=/home/output_autosys;

...

I tried to manually run my test script and I am...
3,612
Posted By arex876
so to source a file, i need two dots??? i had...
so to source a file, i need two dots??? i had one dot before and it did not work
3,612
Posted By arex876
that works! Can you explain why the extra dot?
that works! Can you explain why the extra dot?
3,612
Posted By arex876
Export variable
Hi

I have a pass a variable from one script to another.

Here are my scripts

Script #1 ./profile

#!/bin/sh
export NAME="Hello"

Script #2 ./test

#!/bin/sh
./profile
echo $NAME
...
7,666
Posted By arex876
Autosys Help!
I am not sure why my output keeps going to my std_out_file!!

Here's my JIL:

insert_job: test_autosys job_type: c
command: $SCRIPT_DIR/test
machine: abcde
owner: bob@abcde
permission:...
8,305
Posted By arex876
Hey, Thanks for the quick response. I...
Hey,

Thanks for the quick response. I don't have access to server A and it has to be a pull / pull. So server B pull from server A and server C pull from server B.

Server C needs these files...
8,305
Posted By arex876
Autosys filewatcher + ksh script
Hi,

A ------> B ------> C

I have a scenario where each day, my server B would ftp to server A and pull (A,B,C,D,E) from a specific directory.

Server C would need files (B,D) only when...
1,350
Posted By arex876
ftp and running a script
Hi,

I want to write a script that can connect from server A to server B .. so i need the following

1. sftp to server B
2. pull some files out from server B using an existing script in server...
2,414
Posted By arex876
Autosys question
Hello,

Can I store my log file on my script directory?

For example I have a jil file like this ..

---script abc ---
insert_job: test1 job_type: c
command: /scripts/abc/test.ksh ...
2,808
Posted By arex876
Hey guys My script only shows the result "3"...
Hey guys

My script only shows the result "3" instead of "1" "2" "3" on each line.
and i know why it does not work because I used the wrong code at first.

I still don't know why the following...
2,808
Posted By arex876
Simple for loop question
Hello

I am a beginner of shell scripting and i am having trouble to do a for loop.

I want a for loop to do stuff 3 times.

i.e.

in visual basic i do this
for (counter = 0; counter < 3;...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 09:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy