Report Scheduling Not Working With Custom Script
Content
Hi,
I need to run cron job from OSvC for particular interval of time. I created one custom report and wrote my custom code in custom script.
Initialization Tab
putenv('TEMPORARY_RNW_CONF_DIRECTORY');
require_once(get_cfg_var('doc_root').'/custom/update_fe_closed_date.php');
I left other tabs blank (No code). This custom PHP file will have logic to fetch record from different application using REST API (curl).
I schedule this report for particular interval of time. When I run this report manually, It work fine and as per PHP script logic I got result.
Tagged:
0