I have a crontab job in my sun solaris server and basically i have a unix script in 3 different parts
1 part will do an auto ftp from a server
2 part will have some grep and awk related commands and generate certain files
3 part the files that are generated above will be auto ftpied again to the source server.
when i put above 3 parts in crontab using && also the 2nd and 3rd part is not executing properly and even if merge all the above 3 tasks in one crontab also it is not executing.
what is the best way to execute and automate the scripts.