Hi

All jobs are working but not the latest.
It starts a script that produces a file. But the file is empty if i run it from cron, but if i run it manually in the same way as it is written in cron it works.

10 12 * * * /home/admin/bin/lic-print.sh

I have tried with
10 12 * * * root /home/admin/bin/lic-print.sh doesnīt work

If i run it from prompt with /home/admin/bin/lic-print.sh it works, doesnīt matter if i run it as root or admin.

File properties:
-rwxrwxr-x 1 admin root 1185 Jan 8 12:02 DEN-lic.txt

Any suggestions why?