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

Posted December 3, 2017 2.2k views

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.

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.

Submit an Answer
1 answer

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