Schedule NAS Tasks!

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
edited 2011-01-07 in Download section
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

  • ranian92ranian92 Member Posts: 10
    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?? ](*,)
  • andreofandreof Member Posts: 133
    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.com
  • ranian92ranian92 Member Posts: 10
    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.com
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    You can find it on the downloads page: Microsoft Business Solutions-Navision W1 4.0 SP1
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • ranian92ranian92 Member Posts: 10
    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)?
  • andreofandreof Member Posts: 133
    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.com
  • ranian92ranian92 Member Posts: 10
    How can i several version?

    I know that it is installed same folder.
  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    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)
  • ranian92ranian92 Member Posts: 10
    I downloaded "NAS" & NavW140SP1.
  • ranian92ranian92 Member Posts: 10
    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.
  • FeldballeFeldballe Member Posts: 26
    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 :wink:

    Am I missing something here? A property that is not set or something else?? ](*,)
  • andreofandreof Member Posts: 133
    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.com
  • FeldballeFeldballe Member Posts: 26
    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,

    Feldballe
  • rickcpprickcpp Member Posts: 1
    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"
  • trennerttrennert Member Posts: 22
    edited 2007-08-14
    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 ?
  • trennerttrennert Member Posts: 22
    No dataports with NAS !
    Ok but then whats the solution to export data ?
  • AbhishekAbhishek Member Posts: 68
    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 )
  • krikikriki Member, Moderator Posts: 9,112
    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!


  • johannajohanna Member Posts: 369
    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 PM :)
    Best regards,

    Johanna
  • johannajohanna Member Posts: 369
    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 before :)
    Best regards,

    Johanna
Sign In or Register to comment.