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

Run .job tasks in task scheduler 2.0?

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
mattjoy1
Asked:
mattjoy1
1 Solution
 
michkoCommented:
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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

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