Automatic Schedulling Of Codeunits
libin80
Member Posts: 24
Hi,
I need some help to run 2 different newly developed codeunits in NAV 4.0, automatically at a scheduled time even if no users are not logged in. Is their any way to do it?
Thanks
Libin D
I need some help to run 2 different newly developed codeunits in NAV 4.0, automatically at a scheduled time even if no users are not logged in. Is their any way to do it?
Thanks
Libin D
0
Comments
-
[Topic moved from Navision Tips & Tricks to Navision forum]0
-
-
take a look at Job queue in 5.0. It does what you are looking for.0
-
I don't have 5.0. Is it possible to use Job Scheduler without any user logged in with 4.0?Ufuk Asci
Pargesoft0 -
Another option I've suggested/implemented to clients in the past is to use NAS and build a codeunit that mimics the functionality of the Job Scheduler form, with a timer & calls the underlying jobs using the existing job scheduling logic.
This way you're not re-inventing the wheel by writing everythying yourself (i.e. you use as much of base Navision Job Scheduler functionality as possible) and just build the piece to automate it.
The very important thing to note when building this kind of automation is that all the processes being invoked can run in a GUI-Less client - this means no progress bars, no messages or command prompts (as that would make things fail when run using NAS).0 -
In our system I also defined a virtual terminal server user and this session is always open. I have wondered if it is possible to run scheduler without a licensed user
Ufuk Asci
Pargesoft0 -
I don't spend too much time dealing with licensing (you're probably better off asking Microsoft or your NSC) but heres things as I know:
- you get license to run 1 NAS instance with every Navision Server
- you can order as many as you would like
- you will need to have 1 NAS instance per company (unless you want to write code to use intercompany or use ChangeCompany)
- each NAS will use a Navision user license0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

