[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Phpgroupware-developers] async service question
From: |
Brian Johnson |
Subject: |
RE: [Phpgroupware-developers] async service question |
Date: |
Thu, 29 Apr 2004 15:07:01 +0000 |
I think it is supposed to be the timestamp of the last run. The async cronjob
runs the same for all users and runs a php script that uses the phpgw_async
table to see what it should do (all user's async entries are stored in this
one table I think)
I should re-state, that I have not been able to get the async services to run
reliably and took a look at the code which was hard for me to follow due to
the way it locks the table to make sure two runs do not happen at the same
time.
I think it uses the '##last-check-run##' to determine if the last run finished
successfully before it starts another run. Maybe you could use a similar
concept?
I would really like to use the features provided by this sytem to the calendar
app, but I could use help in getting it to be reliable. The developer who
wrote it is no longer maintaining it.
Dirk Schaller (address@hidden) wrote:
>
> Okay, but is this the timestamp of the last async run
> in general, or isnt it?
> If there is another async run between the points where
> my method is called, I get a wrong timestamp, if I use
> last-check-run. I need the timestamp of the async run
> of my method. Because of this I want to save this
> timestamp in the async data of my async runs.
>
> Dirk
>
> > -----Original Message-----
> > From: Brian Johnson [mailto:address@hidden
> > Sent: Wednesday, April 28, 2004 8:17 PM
> > To: address@hidden
> > Subject: Re: [Phpgroupware-developers] async service question
> >
> >
> > I don't understand the question.
> >
> > The last run of the async date looks like is stored in the
> > data field of the
> > phpgw_async table:
> >
> > a:3:{s:6:"run_by";s:7:"crontab";s:5:"start";i:1083175803;s:3:"
> > end";i:1083175803;}
> >
> > Those start and end times look like date/time stamps.
> >
> >
> > This is in a record with id = '##last-check-run##'
> >
> >
> >
> >
> >
> >
> > Dirk Schaller (address@hidden) wrote:
> > >
> > > Hi,
> > >
> > > does anyone knows how can I update the async date
> > > during an async execution?
> > >
> > > I want save the time of the async execution in the
> > > data field for use them in the next async execution.
> > >
> > > Thanks
> > > Dirk
> > >
> > >
> > > _______________________________________________
> > > Phpgroupware-developers mailing list
> > > address@hidden
> > > http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > Phpgroupware-developers mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
> >
>
>
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
>
>
- [Phpgroupware-developers] async service question, Dirk Schaller, 2004/04/28
- RE: [Phpgroupware-developers] async service question, Dirk Schaller, 2004/04/28
- Re: [Phpgroupware-developers] async service question, Brian Johnson, 2004/04/28
- RE: [Phpgroupware-developers] async service question, Dirk Schaller, 2004/04/29
- RE: [Phpgroupware-developers] async service question,
Brian Johnson <=
- RE: [Phpgroupware-developers] async service question, Dirk Schaller, 2004/04/30
- RE: [Phpgroupware-developers] async service question, Brian Johnson, 2004/04/30