Dynamics User Group
Since 1995 - The Microsoft Dynamics Online User Community

Auto Starting Job Scheduler

rated by 0 users
This post has 18 Replies | 4 Followers

Not Ranked
Female
Posts 27
Points 575
Member since 02-25-2005
marybricco Posted: 08-15-2007 23:14

I am using Navision 3.01. Recently started using the Job Scheduler. The Navision service is stopped everynight for backup. The Job Scheduler appears to be running after the service restarts, but is really not. I would like it to autostart the Job Scheduler everytime the Navision service is restarted.Can I use NAS for this? Or is there another method?

Top 50 Contributor
Male
Posts 432
Points 13,704
Member since 10-24-2006
DynamicsNAVMVP

You should be able to do it with a shortcut... .

Probably, you do it with a .bat (or .cmd) file to stop server/backup/start server?

well, extend this with calling a shortcut to NAV to your form.  In your form, you could add some code in the trigger "OnHyperlink" or "OnOpenForm" to start immediately.

Hope this helps.

Not Ranked
Female
Posts 27
Points 575
Member since 02-25-2005

You are correct that it is done with a .bat file. I'm not exactly sure how to call the form from the .bat file- I did not write that code. Can you please provide some sample code?

Top 50 Contributor
Male
Posts 432
Points 13,704
Member since 10-24-2006
DynamicsNAVMVP

First, you create a shortcut of your form.

In your .bat file, you open dat shortcut.  E.g:

"C:\==WORKINGFOLDER\Temp\10000 The Cannon Group PLC waldo - Customer Card.url"

I just tested this on my testdb, and it works fine.

Not Ranked
Female
Posts 27
Points 575
Member since 02-25-2005

This would work great except for the known bug in 3.01 that does not allow access to the Job Scheduler log. I work for an end user and our license does not allow us to change the code for the Job Scheduler form.

Any other ideas?

Top 10 Contributor
Male
Posts 5,421
Points 67,563
Member since 04-12-2001
DynamicsNAVMVP
Moderator
SystemAdministrator

Yes 3.01 is a very unstable version of the product. Do you have the ability to upgrade to a new version of the executables. Even going to 3.10 will make a huge difference.

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision Go-Live assistance
Dynamics Book
Not Ranked
Female
Posts 27
Points 575
Member since 02-25-2005

You make me laugh! I have been pushing for an upgrade for 4 1/2 years to no avail. Do you have anything that might help me?

Top 10 Contributor
Male
Posts 1,407
Points 46,614
Member since 06-05-2005
Moderator

marybricco:

You make me laugh! I have been pushing for an upgrade for 4 1/2 years to no avail. Do you have anything that might help me?

Where do you want help? Big Smile

Nuno Maia
  • | Post Points: 5
Top 50 Contributor
Male
Posts 432
Points 13,704
Member since 10-24-2006
DynamicsNAVMVP

It is becoming quite difficult to help you because you can't do anything in the database... .Tongue Tied

  • | Post Points: 5
Top 10 Contributor
Male
Posts 5,421
Points 67,563
Member since 04-12-2001
DynamicsNAVMVP
Moderator
SystemAdministrator

 Well if you have a maintenance contract, then you can just upgrade the executables to at least 4.00sp3. Even without support, if memory serves me correctly, your license should work with 3.10 executables.

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision Go-Live assistance
Dynamics Book
Top 50 Contributor
Male
Posts 432
Points 13,704
Member since 10-24-2006
DynamicsNAVMVP

True, but keep in mind that the license has to be updated.  This only takes 5 minutes and is free of charge (if you pay maintenance) ... but often forgotten.

  • | Post Points: 20
Top 10 Contributor
Male
Posts 5,421
Points 67,563
Member since 04-12-2001
DynamicsNAVMVP
Moderator
SystemAdministrator

waldo:

True, but keep in mind that the license has to be updated.  This only takes 5 minutes and is free of charge (if you pay maintenance) ... but often forgotten.

 

 

Thats what I was saying, if memory serves me correctly there was no EXE license change form 3.01 to 3.10, only granule differences, but I am not 100% sure. If you remember back, when 3.00 came out, they had the granule 3.xx License, and until they changed things in 3.60 I think that the licenses worked with all 3.xx versions.

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision Go-Live assistance
Dynamics Book
Not Ranked
Female
Posts 27
Points 575
Member since 02-25-2005

I can make changes in the database; just not to the Job Scheduler form because of the known bug.

They don't pay maintenance and upgrading is not an option. I have tried going down that path and ended up stuck in the mud.The challenge is to find the work around to starting the Job Scheduler when the service is restarted.

  • | Post Points: 35
Top 50 Contributor
Male
Posts 432
Points 13,704
Member since 10-24-2006
DynamicsNAVMVP

Can't you ask your solution center to do this?

  • | Post Points: 5
Top 10 Contributor
Male
Posts 5,421
Points 67,563
Member since 04-12-2001
DynamicsNAVMVP
Moderator
SystemAdministrator

marybricco:

I can make changes in the database; just not to the Job Scheduler form because of the known bug.

They don't pay maintenance and upgrading is not an option. I have tried going down that path and ended up stuck in the mud.The challenge is to find the work around to starting the Job Scheduler when the service is restarted.

 

 

So what is the "known Bug"? 

David Singleton - MVP Dynamics NAV Dynamics NAV Consultant since 1991 Available for Navision Go-Live assistance
Dynamics Book
  • | Post Points: 20
Page 1 of 2 (19 items) 1 2 Next > | RSS


Copyright Dynamics User Group, 1995-2009, all rights reserved. The Dynamics User Group is not affiliated with Microsoft Corporation.