Report this

What is the reason for this report?

Setting up PHP Cron which is using SOAP WSDL and returns a PDF file

Posted on December 3, 2017

I want to set up PHP Cron file which is using SOAP WSDL and it returns a PDF file after executing the SOAP WSDL. could anyone guide me how to do it properly i am using

          • php -q /home/path to file/auto.php

but this is not responding

when I use the direct url its working properly.

Thanks alot in advance.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

We’ll need a bit more info in order to figure out what’s wrong. I’d recommend starting by logging the script’s output to a file, and then waiting a minute until the cronjob runs and seeing what it outputs.

* * * * php /home/path to file/auto.php >>/home/path/logfile.txt 2>&1

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.