I have php script that is run from cron. There are such command as
zip -j9 {targer_some_directory}/all.zip {some_directory}/pdf/*.pdf
in that script.
This command is running by exec();
{some_directory} and {targer_some_directory} are existing full path. These directories have rights = 0777. When I run this script from shell it works. When it run from cron, script doesn't work.
Can anybody help me?
P.S. Sorry for my bad English.