KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Data incorrect on cron job #416

Open Aritrim Basu opened this topic on on Aug 16, 2018 - 5 comments

Aritrim Basu commented on Aug 16, 2018

Hello,

When we are executing a script normally everything works fine but when we are executing a script via cron job everything falls apart. Although the pdf is generated, the data inside the pdf is incorrect and also the css does not work.

KoolReport commented on Aug 16, 2018

Could you please add the crobjob like following:

* * * * * /usr/bin/wget -q --spider http://www.mydomain.com/report/index.php
Aritrim Basu commented on Aug 16, 2018

We are currently using: /usr/local/bin/php -q /home/serptrack/public_html/schedule-weekly.php And our domain is https://serptrack.io/

Could you please help us with the new path?

KoolReport commented on Aug 16, 2018

It could be

/usr/bin/wget -q --spider https://serptrack.io/schedule-weekly.php

In my system the wget command is in "bin" but it could be in "local" folder

Aritrim Basu commented on Aug 16, 2018

This is working fine now. Thank You!

KoolReport commented on Aug 16, 2018

That's great!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed
solved

None