Running the Same Job Repeatedly RRS feed

  • Question

  • What is the easiest way to have the same job run repeatedly?  Meaning the job finishes and then the same job starts again, over and over until I manually stop it.

    Thanks in advance,


    Sunday, June 5, 2011 1:06 AM


  • There are a couple of ways of handling this.

    The first is with a Windows Scheduled Task.  On the system you want to submit the job every day, go to Start->All Programs->Accessories->System Tools->Task Scheduler
    Just write a small script to submit a new Windows HPC job (you can export the xml from a previous job and use it to create the new ones).
    Then use the Windows Scheduled Task to submit a new job every day.

    The second approach is to have a task in your job create and submit a new job.  That way you have a self perpetuating job.  You can use the holduntil property on the job to make sure it doesn't run before a certain time (e.g. if you want the job to run sometime after 6 PM, then use holduntil to keep it from running before 6:00 PM)



    Monday, June 6, 2011 2:34 PM