Is there a API for Solidworks Task Scheduler

Is there a API to call Convert files operation through Solidworks task scheduler which can be consumed in another program.

Or is there any other way to convert files using API

SolidworksApi/macros