hiteshrawal
April 13th, 2011, 07:16 PM
Hi All,
I m using ubuntu 10.04, I have created on simple shell script to create tar of given folder the script is working fine. I have set crontab to run this script periodically it is also working fine on my local pc.
but on cloud server this same thing gives me unexpected result.
on server
- If I run shell script directly it is working fine, create tar file and size of tar file around 20mb
- If I use crontab then it create tar file but size of tar file around 15kb
I have also try to view the cron log file, but it didnt give me any error message related with this issue.
Please can any one help me to sort this issue.
I will really appreciate your help.
I m using ubuntu 10.04, I have created on simple shell script to create tar of given folder the script is working fine. I have set crontab to run this script periodically it is also working fine on my local pc.
but on cloud server this same thing gives me unexpected result.
on server
- If I run shell script directly it is working fine, create tar file and size of tar file around 20mb
- If I use crontab then it create tar file but size of tar file around 15kb
I have also try to view the cron log file, but it didnt give me any error message related with this issue.
Please can any one help me to sort this issue.
I will really appreciate your help.