Search Results

Search: Posts Made By: robin.b
3,946
Posted By robin.b
Hi Robin, I added the line export...
Hi Robin,

I added the line export HOME=/export/home/user1 and now the cron job is working perfectly! Thanks so much for the help! :)

Robin
3,946
Posted By robin.b
My apologies, I misread your previous reply. I...
My apologies, I misread your previous reply. I ran those commands from the command line and not via cron. I will try this again in a while (currently have no access) and let you know on the results...
3,946
Posted By robin.b
Ahh yeah, it does. Hmm. Is there a way for me to...
Ahh yeah, it does. Hmm. Is there a way for me to change this? Although, I accessed the server via ssh using user1@host.ip then changing users via su so this could be the reason?

Also, would this...
3,946
Posted By robin.b
Thanks for replying, you can see the output below...
Thanks for replying, you can see the output below (users are changed to user1, user2 etc.)

more my_env
HOME=/export/home/user1
LANG=C
LC_ALL=
LC_COLLATE=
LC_CTYPE=
LC_MESSAGES=...
3,946
Posted By robin.b
Hi Robin (we have the same name!), The...
Hi Robin (we have the same name!),

The .netrc and the ftp script file are both owned by root user under root group.

For the other concern, $HOST is correct as it is calling the HOST variable,...
3,946
Posted By robin.b
FTP session not working on cron
Hi, I'm experiencing an issue with creating an ftp session via cron.

I am creating an ftp session between a data server and a reporting tool. I have created the script wherein the data server...
Showing results 1 to 6 of 6

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