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

We are happy to announce the new Windchill Customization board! Learn more.

Is there anyway to schdule?

anabors-keating
4-Participant

Is there anyway to schdule?

I have a requirement where third party system is going to place a file on the shared directory. I need to pick the file in hourly basis and update the values in windchill WTPart.

Could you please let me know is there any job scheduler supported in windchill?

1 REPLY 1

There is a full PDMlink solution.

Re: How to run background task periodically

You can also use windows scheduled tasks or crontab on Unix.

The trick is to create an Infoengine task to do the job you have to do with your WTParts.

No need to be an I*E expert, you can use pure java code in an I*E task.

Next, you can call your task with curl, from the OS scheduler.

curl -u user:password http://server/Windchill/servlet/IE/tasks/CheckFile.xml

To be callable from the IE servlet, an I*E tasks must have access="http" in its page tag.

<%@taglib uri="http://www.ptc.com/infoengine/taglib/core" prefix="ie" %>

<%@page language="java" extends="com.infoengine.SAK.BasicTasklet" access="http" %>

pros : Easy to manage from an admin point of view as it is driven by the OS

cons : The password is readable in the task. But it's on the server.

Top Tags