Hi,

I am not sure , is a Job can be put in a Batch. But i
think NO.

But you can create your own class extends runBaseBatch
and writing your code in the run method of the class ,
you can put the class in batch processing and you can
specify the scheduling time with no End Date.

Hope this will help....

Regards
Akash


--- Padmaja Iyingar <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> I have a job logs the number of users . How can I
> run it without end datei,e in an infinite loop with
> timelag of 2 hours?.
> static void Job2(Args _args)
> {
>  int maxSessions;
>  str temp;
>  CommaIo myfile = new
> CommaIo("X:\\Padmaja\\Log.txt","A");
>  container users;
>  [users, maxSessions ] =
> SysUsersonline::getAllOnlineUserCount();
>  temp=strFmt('%1 : %2 : Number Of OnLine Users :
> %3\n',systemdateget() ,(Time2str(TimeNow(),1,1)),
> int2str(maxSessions));
>  myfile.write(temp);
> 
>  }
>  
> Can I schedule a job?.
>  
> Can anyone help me?.
>  
> Thanks in advance,
> Padmaja
> 
>                       
> ---------------------------------
> Do you Yahoo!?
>  The all-new My Yahoo! – Get yours free!    


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/kGEolB/TM
--------------------------------------------------------------------~-> 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to