Skip navigation

JSI Tip 0462 - How do I move scheduled jobs to a different Server?

If you need to take a computer offline, it may be useful to copy the scheduled jobs to another server.

Note: In addition to the procedure describe below, you will have to manually copy programs and files used by the scheduled jobs.

To move the schedule from MachineA to MachineB:

On MachineA:

Use Control Panel / Services to navigate to the Schedule Service and Stop it.

Run Regedit.exe and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule

On the Registry menu, choose Export Registry File and save the file as MachineA on a share accessible to both servers or on removeable media.

Start the Schedule Service.

Use a text editor (Notepad) to edit the MachineA.reg file created and remove the

\[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\] line and the Values listed below it, so that only the sub-keys of the Schedule Service and their Values remain. Example:

REGEDIT4

\[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\22CDB7B4\]
"Schedule"=hex:c0,42,c0,00,00,00,00,00,40,01,00,00
"Command"="\"C:\\Program Files\\NAVNT\\navwnt\" /L"

\[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\4DCBA1C7\]
"Schedule"=hex:00,7c,92,00,00,00,00,00,00,00,00,00
"Command"="C:\\scrnsave.cmd"

Change the sub-keys so that they are unique on MachineB. I prefer to just number them. This makes them easily identifiable for subsequent removal. Example:

REGEDIT4

\[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\001\]
"Schedule"=hex:c0,42,c0,00,00,00,00,00,40,01,00,00
"Command"="\"C:\\Program Files\\NAVNT\\navwnt\" /L"

\[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule\002\]
"Schedule"=hex:00,7c,92,00,00,00,00,00,00,00,00,00
"Command"="C:\\scrnsave.cmd"

On MachineB:

Use Control Panel / Services to navigate to the Schedule Service and Stop it.

Double click the MachineA.reg file to install it.

Start the Schedule Service.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish