Solved

Run .job tasks in task scheduler 2.0?

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no backā€¦
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now