Issue with unrecognized zip format


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Issue with unrecognized zip format
# 1  
Old 04-13-2013
Issue with unrecognized zip format

Hi Friend,

i have tried to generated zip file and received with attached mail by. But attachment file is unrecognized format not zip file by crontab, which is not able open.

but there is no issue when the script is ran manually but i have received zip format.

i am appriciate for your valueable input through forum.

Thanks,
Jewel
# 2  
Old 04-13-2013
If your job/script works outside of a crontab but fails for whatever reason when run from crontab, it typically means that some component of your regular environment is missing or incorrect. The most common is probably an incorrect PATH.
# 3  
Old 04-13-2013
i have put all the corrct path. Please let me know how to fix it.

Thanks,
Jewel
# 4  
Old 04-13-2013
Where did you set your PATH? Please provide samples/examples..
# 5  
Old 04-13-2013
Code:
(uuencode /rep/p31100/users/repP3ap/rabindra/TransfersReport/CancelPending/$filename1  /rep/p31100/users/repP3ap/rabindra/Tran
sfersReport/CancelPending/$filename1 ; cat $cspath/pendingbody.txt)| mailx -m -s "Cancelled and Pending status Report"  "${CLI
ST%,}"


Last edited by Scrutinizer; 04-13-2013 at 06:29 AM..
# 6  
Old 04-13-2013
uuencode does not have a path for example, nor mailx etc.. You need to provide the PATH somehow.. Do a search or read the FAQ
# 7  
Old 04-13-2013
can you please clear me more to avoid this issue

---------- Post updated at 10:41 AM ---------- Previous update was at 04:42 AM ----------

Hi Friend,
can you please help on this.


Thanks,
Jewel
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Hi, I installed some packages required by an app built with python. But when I try python setup.py install, I get the following error: /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32' Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies

2. SCO

Unsuccessful install due to unrecognized disk issue

Dear Community! i try to instaled the sco 6 in hp proliant ML350g8 but unsucces, the trouble when i do instaled it undetected hardisk please help me :(:o (7 Replies)
Discussion started by: mnr
7 Replies

3. UNIX for Dummies Questions & Answers

Format issue

I was trying to copy the file content of program from server to other server you ctrl+c. once after the pasting in the other server the file alignment is getting changed. since I don't have scp permission. I am getting aligment improperly. wat needs to be done to make the format ccorrecltly as... (5 Replies)
Discussion started by: k.keerthi2005
5 Replies

4. UNIX for Dummies Questions & Answers

Move a .zip file to a unix system in .rar format

Hi all, need help here in moving a .zip file into a suse system and want it to be in .rar format. How can i do this? (1 Reply)
Discussion started by: mena
1 Replies

5. Solaris

Issue with zip

I am back here after long time! Need help of experts! I am trying to unzip a zip file. I tried with unzip and got the below error #unzip -p ConfigMigrationUtility.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a... (4 Replies)
Discussion started by: kumarmani
4 Replies

6. Windows & DOS: Issues & Discussions

Auto download - filename UCC-YYYYMMDD.zip format.

Hi, On a daily basis I have download .zip file from FTP site. Naming convention of .zip is UCC-20100816.zip I want to create windows batch file which will automatically download latest .zip file based on system date. .zip file is gets uploaded on a daily basis on FTP site in... (4 Replies)
Discussion started by: rahulbahulekar
4 Replies

7. UNIX for Dummies Questions & Answers

unzip .zip file and list the files included in the .zip archive

Hello, I am trying to return the name of the resulting file from a .zip archive file using unix unzip command. unzip c07212007.cef7081.zip Archive: c07212007.cef7081.zip SecureZIP for z/OS by PKWARE inflating: CEP/CEM7080/PPVBILL/PASS/G0063V00 I used the following command to unzip in... (5 Replies)
Discussion started by: oracledev
5 Replies

8. Shell Programming and Scripting

Conversion of .zip to .tar.Z format

Can we have a shell script for this sort of conversion? There are some web-based tools which display the contents of tar.Z format. I am trying to convert zip files to that Thanks in advance (2 Replies)
Discussion started by: eagercyber
2 Replies

9. UNIX for Dummies Questions & Answers

Unrecognized Path in .bash_profile

Dear experts, I have installed Ruby in the following directory: $ pwd /home/ewijaya/.ruby $ ls bin lib share And I have also stated the PATH in my bash_profile like this: # .bash_profile # Get the aliases and functions if ; then . ~/.bashrc (1 Reply)
Discussion started by: monkfan
1 Replies

10. UNIX for Dummies Questions & Answers

how to format iomega zip under unix?

i´m new in unix help me... (2 Replies)
Discussion started by: Texto
2 Replies
Login or Register to Ask a Question