First you say you are trying to run "AST_email_web_report.pl", but then you say the Location is "call_report_export.php" and you wonder why you get the html output from "call_report_export.php".
I think it is likely you are getting the output from "call_report_export.php" because that is the script you are running. Note that "AST_email_web_report.pl" is a perl script, not a web page. It cannot be "pulled" with wget or curl. It is meant to be run from the command line with "perl" (or bash, which will notice that it is a perl script and invoke perl to execute it ...).
To run it automatically (timed), you would place a line in crontab -e (similar to the many other lines already there ...), but test first directly on the command line to "perfect it" and then add the exact entry that you got to work in crontab -e.
To get it's options (at the command line in linux):
- Code: Select all
perl /usr/share/astguiclient/AST_email_web_report.pl --help
To actually run it, the same line without the --help but WITH the other options listed.