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.
Comments
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?? ](*,)
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.
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
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.com
very thanks.
i have a question.
if i install NavW140sp1, can i use NavW14.0?
can i use Nav 2 version(W1 & W1sp1)?
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
I know that it is installed same folder.
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.
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?? ](*,)
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é
My world: Dynamics NAV,SQL and .NET
CEO at Solving Dynamics
http://www.solvingdynamics.com
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,
Feldballe
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"
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 ?
Ok but then whats the solution to export data ?
ERROR: invalid argument/option-'AM'.
Type 'SCHTASKS/CREATE/?" for usage.
Technical Consultant
New Delhi(India )
You have to convert these to a report/codeunit that exports/imports the data.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Hi Abhishek,
I have experienced that error too. The solution is I try to format the value of variabel time without AM or PM
Johanna
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 before
Johanna