Search Results

Search: Posts Made By: bigjohn-nj
7,575
Posted By bigjohn-nj
Thanks X, Unfortunately, as I indicated A &...
Thanks X,

Unfortunately, as I indicated A & B cannot see each other. Both of these servers are located outside of our firewall at 2 different sites. Server C is located inside the firewall on our...
7,575
Posted By bigjohn-nj
scp between 2 servers - invoked at 3rd server
I have a couple of servers that can't see each other and need to copy files from one to the other. I try to invoke scp from a 3rd server that can see both servers - get error msgs that are cryptic.
...
7,032
Posted By bigjohn-nj
Thank you - you nailed it I escaped the %...
Thank you - you nailed it

I escaped the % sign and it now works fine

crontab -l >/FIXENGINE/data/crontab.$(whoami).$(date +\%a)

Thank you again

John

BTW - am running HPUX 11
7,032
Posted By bigjohn-nj
I assume I'm running under Korn - note that the...
I assume I'm running under Korn - note that the $(whoami) works
echo $SHELL generated an email to the acct with out a result

I did try `date +%a` (backquotes) - still didn't work

john
7,032
Posted By bigjohn-nj
Command doesn't work under cron ?
I have defined in cron
crontab -l >/FIXENGINE/data/crontab.$(whoami).$(date +%a)

The resulting file is named
crontab.fixadmin.

When I run the above from a command line, the file is named:...
Showing results 1 to 5 of 5

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