If you create a runbase batch class and put your code in the run method, you can setup a schedule to run it using the batch tab that will appear. If you are a developer, you should join the development-axapta group to get responses from other developers.
To do this without a batch tab, consider using an infinite while loop and put in a sleep command. But the runbase batch class is a far better solution. Sleep(<ms>); <ms> is milliseconds to sleep 2 hours = 120 mins = 7200 secs = 7200000 ms On 1/6/09, Leandro Taschek <aporte...@terra.com.br> wrote: > > Hi, > > > > > > I did a little x++ program. This program synchronizes information in any > tables. > > > > > > Now I need to schedule this program. I want that it execute each 2 hours, > automatically. > > > > Is it possible? I am using AX Dynamics 4.0. > > > > > > Can you help me? > > > > > > Thanks! > > > > (sorry my English) > > >