Tryton - Issues



Author albertca
Recipients admin, ced
Date 2019-03-17.22:20:50
Missatge de Cédric Krier <> del dia ds., 16 de març 2019 a
les 19:56:

> New submission from Cédric Krier <>:
> The cron definition is complex. It does not allow to be sure when a task
> will be run. It has unused feature like number calls, repeat etc. It can be
> simplified for issue2286 and issue6117.
> And it is not sure that it is 100% safe (string define model, function and
> arguments).
> So I propose to simplify it by:
> - remove unused features

We're using the "repeat" feature, although only in one case, AFAIK. We use
it to send an e-mail of the changes in the last 24 hours in the records of
a given table. As we know repeat missing is set, we can be sure the summary
e-mail will be sent even if the cron process is stopped just when it had to
be sent.

> - allow to set the minute, hour and day (depending on the frequency)
> - use a selection field to define all possible "jobs"
> - remove arguments (all current job have no arguments)

The rest of changes look good to me.

> ----------
> assignedto: ced
> component: trytond
> messages: 47678
> nosy: ced
> priority: feature
> status: in-progress
> title: Simplify cron and allow to run at fixed time
> type: feature request
> ______________________________________
> Tryton issue tracker <>
> <>
> ______________________________________
Date User Action Args
2019-03-17 22:20:50albertcasetrecipients: + ced
2019-03-17 22:20:50albertcalinkissue8201 messages
2019-03-17 22:20:50albertcacreate

Showing 10 items. Show all history (warning: this could be VERY long)