Schedule NAS Tasks!

Administrator
Member, Moderator, Administrator Posts: 2,506
Schedule NAS Tasks!
This tool allows to schedule NAS to run at a specific time or event, and also allows it to run for several companies at the same time.
It creates batch files and setup tasks in the windows scheduler to run this files.
Very easy to use, and to change to suit your needs. Please feel free to add functionalities or to correct bugs or just tell me any modification you would like to add.
http://www.mibuso.com/dlinfo.asp?FileID=810
Discuss this download here.
This tool allows to schedule NAS to run at a specific time or event, and also allows it to run for several companies at the same time.
It creates batch files and setup tasks in the windows scheduler to run this files.
Very easy to use, and to change to suit your needs. Please feel free to add functionalities or to correct bugs or just tell me any modification you would like to add.
http://www.mibuso.com/dlinfo.asp?FileID=810
Discuss this download here.
0
Comments
-
Dear Administrator.
When i try to import CU1, it is needed CU6810, 6870, Table 6870 in trigger "NASHandler(NASID : Text[260])". ](*,) ](*,)
NavW1 4.0 is not contain CU6810, 6870, Table 6870.
what can i do?? ](*,)0 -
Hi,
I used version 4.0 SP1 and those objects you mention are related to employee portal.
If you are a developer its really easy to add the code manually to your CU1 because its only a few lines of code and they are well identified.Andre Fidalgo
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com0 -
hi, Andreof
i have not Nav.4.0. SP1. [-o<
So, i want to receive those objects.
Can you send it to me?
Thanks for your great help.
richard.kim@tectura.com0 -
You can find it on the downloads page: Microsoft Business Solutions-Navision W1 4.0 SP1No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
Dear Andreof.
very thanks.
i have a question.
if i install NavW140sp1, can i use NavW14.0?
can i use Nav 2 version(W1 & W1sp1)?0 -
Yes, you can have several Navision versions on the same computer.Andre Fidalgo
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com0 -
How can i several version?
I know that it is installed same folder.0 -
Please stay On Topic. This thread is about the download "Schedule NAS Tasks!", not about installing multiple Navision versions.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
I downloaded "NAS" & NavW140SP1.0
-
SP1 Setup can not install.
When i run setup.exe, error message raise.
It require ..\Client\Microsoft Business Solutions-Navision 4.0.msi file.
but it only exists "Microsoft Business Solutions-Navision 4.0 SP1.msi" file in ..\Client\ folder.
setup file error.0 -
Hello André
Nice little tool you have made =D> I'm very pleased to inform you that it works very well. I've made some small changes to the cdu in order to automate inserting user and password.
But when I'm using /RU "System" in order to create a task that runs on a systems account, the /TN-code last in cdu 50000 doesn't end the task. It simply start a new nassql.exe next time it is run. This way I easily get a lot of nassql.exe jobs in the Task Manager
Am I missing something here? A property that is not set or something else?? ](*,)0 -
hello,
Im assuming it was working fine but after you changed the user when creating the task it stop working, is this correct?
If this is the case you probably need to add that user when trying to end the task.
This is the syntax:
schtasks /end /tn TaskName [/s computer [/u [domain\]user /p password]]
so try to end the task using the same user /u user
If it doesn't work you can always add this code to delete the task:
schtasks /delete /tn {TaskName | *} [/f] [/s computer [/u [domain\]user /p password]]
Hope this helps
AndréAndre Fidalgo
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com0 -
Thanks for your help.
When I'm using a System account (/RU "System") to enable the task, it isn't possible to stop this task by specifying this user in the /end command.
So in order to make this work, I guess I have to specify a local administrator with username and password. But that's what I'm allready using when I set up the application server.
Regards,
Feldballe0 -
Hello André,
Thanks for this utility, that is very interesting.
I cannot stop the process nassql.exe, that the Task Scheduler run.
The task, starts and stops correctly, but in the Task Manager, show lot of process nassql.exe.
If I execute the Task, loged with the user that runs the Task (NEP_user), I see the execute the BAT file, in MSDOS Window, but after the Job Stop, the Window reamins with the following message:
"Press ESC to shut down the Navision Application Server NAS1"0 -
Hello
This is a very nice module.
All works really fine, but there is one thing I don't understand :
When I first tested the nas, with a simple codeunit containing a message instruction, I found this message in the windows event viewer
Now I installed this module, the schedule is working cause I see the dos-windows open (and there I can see the message instruction too) but there is nothing in the windows event observer.
Did I something wrong ?0 -
No dataports with NAS !
Ok but then whats the solution to export data ?0 -
when i click on create batch system give error on command prompt..
ERROR: invalid argument/option-'AM'.
Type 'SCHTASKS/CREATE/?" for usage.Abhishek Srivastava
Technical Consultant
New Delhi(India )0 -
trennert wrote:No dataports with NAS !
Ok but then whats the solution to export data ?
You have to convert these to a report/codeunit that exports/imports the data.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Abhishek wrote:when i click on create batch system give error on command prompt..
ERROR: invalid argument/option-'AM'.
Type 'SCHTASKS/CREATE/?" for usage.
Hi Abhishek,
I have experienced that error too. The solution is I try to format the value of variabel time without AM or PMBest regards,
Johanna0 -
Dear all,
I have imported this amazing tool. But, I have two questions about this tool :
1. My NAS service is not started, but the batch job in NAS still running. Why could this happen?
2. I have set the task to insert time in table Example every 2 minutes. This tool works well, but why command prompt prompted success appears every 2 minutes? Does the NAS is background process and it is not show anything to the screen, doesn't it?
Thanks beforeBest regards,
Johanna0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions