cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

What are the configuration steps needed to run services for continuous 1 hour.

AP_10343008
13-Aquamarine

What are the configuration steps needed to run services for continuous 1 hour.

I have to automate the services from scheduler to generate 10 reports every week based on the hardcoded 10 inputs in service. Each report generates after fetching data from windchill and it service executes upto 5 minutes to generate one report. In this case the server should be available for 1 hour in backend for the generation of all reports. 

 

What are the configuration steps needed to run services for continuous 1 hour.

1 REPLY 1
Rocko
17-Peridot
(To:AP_10343008)

Not sure what you mean by "server should be available", the server is running permanently and therefore available.

If you have long-running services, you need to set the Scripttimeout parameter in configuration, in your case to 3600. It's documented here:

https://support.ptc.com/help/thingworx/platform/r9/en/#page/ThingWorx/Help/Installation/Installation/platform_settings_json_configuration_details.html

 

Since 3600 is quite high, you could consider running the services in parallel rather than sequential. But it depends on the use case and the load if this is feasible.

 

Announcements

Top Tags