Oneshot cron
base_cron_oneshot · OCA/server-tools
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 90 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.04 MB
Module directory on disk
Code analysis
1 migration note
1 model
1 view
0 HTTP endpoints
Migration considerations
cron_oneshot_cleanup— Migrating to 18.0: `ir.cron` lost `numbercall`/`doall`: remove them from the record, data loading fails on unknown fields. migration-cron-numbercall · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Dependencies
- Odoo dependencies
- None
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
ir_cron_view_form |
ir.cron.form | ir.cron | form | Inherits base.ir_cron_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (1)
-
oneshotBooleandefault=Falsehelp='Enable this to run the cron only once. The cron will be deleted right after execution.'string='Single use'
-
create(self, vals)@api.model -
cron_oneshot_cleanup(self)@api.model -
schedule_oneshot(self, model_name, method=None, code=None, delay=('minutes', 10), **kw)@api.modelCreate a one shot cron. :param model_name: a string matching an odoo model name :param method: an existing method to call on the model :param code: custom code to run on the model :param delay: timedelta compat values for delay as tuple :param kw: custom values for the cron