locked
Saving HPC job to XML in c# RRS feed

  • Question

  • Hi, I hope someone here can help me.

    When you create a job in the cluster manager you can save the job to a xml file to be reused later. I have written a c# program to allow me to create complicated jobs, which can also read a pre-produced xml file using the RestoreFromXml function and submit it. However I cannot find any way of saving the ISchedulerJob information out to a xml file myself the way the cluster manager does.

    I have looked in to xml serializing etc, but ISchedulerJob is not serializable. The only way I can think to achieve this is by manually copying out all of the parameters from a job and write them to xml.

    Does anyone have any better suggestions, or know of a function that I am missing?

    Friday, January 25, 2013 4:20 PM

All replies