Hi,
I have created a php script to use convert command through system() function of php.
I have used convert command to convert pdf to jpg.
while I run this file through PHP CLI it works, but whil I run it through CRON it is not converting pdf to jpg.
May any one help me to find the reason
problem running from cron
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: problem running from cron
When a program runs under cron it will have very little environment. Enuser you PATH, LD_LIBRARY_PATH, and HOME are set in your cron script wrapper.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/