You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Report Scheduling Not Working With Custom Script

edited Jan 18, 2019 5:14PM in Reporting & Analytics for B2C Service 13 comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!