• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 925
  • Last Modified:

Run .job tasks in task scheduler 2.0?


I have run into an issue with task scheduler in windows 7/server 2008 R2.

We are running the latest version of SAP Business One at our company, and we would like to automate running reports. This software is supposed to interface with the windows task scheduler to run these reports.

I am aware that windows 7/server 2008 R2 uses task scheduler 2.0, which only recognizes .xml files for scheduled tasks. The problem is that SAP Business One creates scheduled tasks as .job files, which aren't recognized.

Is there any way to get task scheduler 2.0 to recognize .job files created for task scheduler 1.0?

1 Solution
technet discussion on this shows one possibility:
"If you run schtasks from the vista/2008 server maching you can export the xp/2003 schtasks to xml.  schtasks /query /s xpmachine /tn taskname /XML > taskname.xml then you can import it. not perfect but can save time.  i exported the tasks using /fo table opened that to excel deleted unneeded columns and created a batch file to dump the xmls then /create /xml xmlfile.xml to import the xmls to the new server"

From :

It may not be feasible in your situation, but this is the only way I've come across to get .job files into .xml format.

Hope it helps.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now