tar file not archiving
I am doing the following in a shell script:

    tar cvzf mytar.tgz *

It works fine when I run the shell script from a terminal. When it runs the shell script from a cron job using crontab it looks like it is archived because the tgz file is there but the filesize is nothing and when I untar it there is nothing there. However, when I run the shell script via terminal the tgz has a larger filesize and I can untar them. 

Anyone know why it won't work via the cronjob?
tar file not archiving
===

I am doing the following in a shell script:

    tar cvzf mytar.tgz *

It works fine when I run the shell script from a terminal. When it runs the shell script from a cron job using crontab it looks like it is archived because the tgz file is there but the filesize is nothing and when I untar it there is nothing there. However, when I run the shell script via terminal the tgz has a larger filesize and I can untar them. 

Anyone know why it won't work via the cronjob?