Can anyone explain why this line works when called from shell, but fails when called via crontab?
passthru("tar xvf $file $tarfile/application $tarfile/application_detail $tarfile/application_device_type $tarfile/genre_application");
}
The error I got emailed after cron was
tar: itunes20100907/application: Cannot open: No such file or directory itunes20100907/application_detail