Hi Alex, Will definitely look into it. These messages were just for research purposes, not looking to implement it for another month.
Thanks, Ian On 27 July 2013 16:30, Alex Huang <alex.hu...@citrix.com> wrote: > Hi Ian, > > You might want to develop against vmsync branch for now, if you don't mind. > We intend to bring the job queue work there over to master. I've been > bringing vmsync over piece meal to master but haven't gotten to the job part > yet. > > In the vmsync branch, what you'll find is that we've isolated the asyncjob > code into the framework-jobs project. We also scrubbed the AsyncJobManager > interface so that we removed all traces of api commands from it. Now you > basically create an asyncjobVO with a dispatcher and it gets scheduled. When > the job runs, the dispatcher gets notified of the job and the job content is > sent to the dispatcher. You can find two dispatchers already. One is > ApiAysncJobDispatcher and the other is the VmWorkJobDispatcher. > > Take a look. Let me know if I can help you out with anything. > > --Alex > >> -----Original Message----- >> From: Ian Duffy [mailto:i...@ianduffy.ie] >> Sent: Friday, July 26, 2013 2:48 PM >> To: dev@cloudstack.apache.org >> Subject: Re: Dev Help: How to create scheduled tasks in ACS >> >> > Are you looking for something in < 4.2? Kelven did a great job abstracting >> out the entire job framework in vmsync, which he'll merge into > master >> soon. I can give examples of both but it may be easier for Ian if it's in >> master. >> >> Hi Alex, >> >> Its for master :-) >> >> On 26 July 2013 22:34, Alex Huang <alex.hu...@citrix.com> wrote: >> > Ilya, >> > >> > Are you looking for something in < 4.2? Kelven did a great job abstracting >> out the entire job framework in vmsync, which he'll merge into master soon. >> I can give examples of both but it may be easier for Ian if it's in master. >> > >> > --Alex >> > >> >> -----Original Message----- >> >> From: Musayev, Ilya [mailto:imusa...@webmd.net] >> >> Sent: Friday, July 26, 2013 1:48 PM >> >> To: dev@cloudstack.apache.org >> >> Subject: RE: Dev Help: How to create scheduled tasks in ACS >> >> >> >> Donal, >> >> >> >> My apology as I was not clear, we need inner Java example currently >> >> used by ACS. >> >> >> >> External would be the very worst case, i would personally consider >> >> least desired. >> >> >> >> Thanks >> >> ilya >> >> >> >> > -----Original Message----- >> >> > From: Ian Duffy [mailto:i...@ianduffy.ie] >> >> > Sent: Friday, July 26, 2013 4:41 PM >> >> > To: dev@cloudstack.apache.org >> >> > Subject: Re: Dev Help: How to create scheduled tasks in ACS >> >> > >> >> > Hi Donal, >> >> > >> >> > Thats neat, not sure one would want to rely on a external task to >> >> > kick it off though. >> >> > >> >> > Something that is integrated within the Cloudstack lifecycle would >> >> > be preferred. >> >> > >> >> > Thanks. >> >