Solved

Run .job tasks in task scheduler 2.0?

Posted on 2011-03-23
1
918 Views
Last Modified: 2012-08-14
Hello,

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?

Thanks!
0
Comment
Question by:mattjoy1
1 Comment
 
LVL 27

Accepted Solution

by:
michko earned 250 total points
ID: 35202611
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 :
http://social.technet.microsoft.com/Forums/en/itprovistamigration/thread/76b6276b-49f2-41e2-b4ea-f537e0eb88a8

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.

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question