I have a PHP script that runs this command:
system("pdftohtml -i -noframes /home/myacc/pdfs/test.pdf");
When I run this from within public_html, an html file called test.html is successfully created and is placed in the public_html folder. However, when I run this from a cron job outside of public_html, no html file is created in any folder on the server.
Can anyone help me find where the resulting html file will be?
Thank you.
pdftohtml input.pdf output.htmlas per the manpage. And of course specifying the cron job directory instead of relying on unspecified values (either /tmp or $HOME) would be sound. tinyurl.com/5wannzg