Has anyone got this to work? I've tried but i am puzzled by the following usage hint: "In main menu, write a timer with timer interval property = 60000 with crons.launchCrons(); at ontimer trigger."
I would like to call three codeunits every 15 minutes without opening the Navi Client. Working with 3.70.
Has anyone got this to work? I've tried but i am puzzled by the following usage hint: "In main menu, write a timer with timer interval property = 60000 with crons.launchCrons(); at ontimer trigger."
I would like to call three codeunits every 15 minutes without opening the Navi Client. Working with 3.70.
As I know, 3.70 has its own object launcher ... ( I think ).
Anyway, "cron engine" needs a client running ( i.e. on server ) because the only way you can put a timer in financials is on a form ...
I have a client with a generic user running on the same server navision server is.
Yes, 3.70 has it's own launcher and totally stupid is that there must be alsways an open Navision Client. I misunderstood cron and thought there have to be no client open.
For certain reasons an always opened client is not possible in the current environment.
Yes, 3.70 has it's own launcher and totally stupid is that there must be alsways an open Navision Client. I misunderstood cron and thought there have to be no client open.
For certain reasons an always opened client is not possible in the current environment.
I propose a cron engine, which is running as system service and wich is able to do every task i can do by clickclickclick.
I recently tried out several low level macro progs but that is stupid, security-wise. Did not work right anyway.
We recently got another report wich must be run at night. The only thing is "... that there must be always a Navi Client open".
It is not possible to leave a client open because the "slave.exe" process won't close and write back data in this environment (TS 2003, 3.70) if a client is open. Navision is spawning new slave.exe's as soon as it's cache is reached. At the end you'll get 5 slave.exe a 900 MB, all memory stuffed up, pagefile full, server inaccessible, DB and system will then lock up and die.
Comments
Here you have...?!?
I would like to call three codeunits every 15 minutes without opening the Navi Client. Working with 3.70.
As I know, 3.70 has its own object launcher ... ( I think ).
Anyway, "cron engine" needs a client running ( i.e. on server ) because the only way you can put a timer in financials is on a form ...
I have a client with a generic user running on the same server navision server is.
For certain reasons an always opened client is not possible in the current environment.
I recently tried out several low level macro progs but that is stupid, security-wise. Did not work right anyway.
We recently got another report wich must be run at night. The only thing is "... that there must be always a Navi Client open".
It is not possible to leave a client open because the "slave.exe" process won't close and write back data in this environment (TS 2003, 3.70) if a client is open. Navision is spawning new slave.exe's as soon as it's cache is reached. At the end you'll get 5 slave.exe a 900 MB, all memory stuffed up, pagefile full, server inaccessible, DB and system will then lock up and die.