Solved

Run .job tasks in task scheduler 2.0?

Posted on 2011-03-23
1
916 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
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.
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…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

776 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