Scheduling Remote Provider imports

19 views
Skip to first unread message

Kristopher Curylo

unread,
Jun 12, 2014, 3:51:31 PM6/12/14
to thre...@googlegroups.com
Is there a way to configure Threadfix to automatically fire off an import request of all remote providers on a certain interval?

A rest call that can be scripted from cron is one thing but it would probably be most useful if that was an option in the remote provider section.

Thanks,
Kris

Dan Cornell

unread,
Jun 12, 2014, 4:14:01 PM6/12/14
to thre...@googlegroups.com, Dan Cornell
Is there a way to configure Threadfix to automatically fire off an import request of all remote providers on a certain interval?

A rest call that can be scripted from cron is one thing but it would probably be most useful if that was an option in the remote provider section.


That should current be set by default to run every day at 6am. You should be able to control it by modifying the file:
tomcat/webapps/threadfix/WEB-INF/classes/applicationContext-scheduling.xml

If you look for <bean id="importScansCronTrigger" . . . /> you should be able to change the p:cronExpression attribute to pick an alternate time.

Thanks,

Dan

Kristopher Curylo

unread,
Jun 12, 2014, 4:19:08 PM6/12/14
to thre...@googlegroups.com, d...@denimgroup.com
Ah! I should have known you already had that accounted for. I hadn't noticed it happening so I'll keep an eye on it and see if it executes as expected.

Thanks!
Reply all
Reply to author
Forward
0 new messages