Expert please explain how cron jobs works in OpenERP ?
As how it start on server start and stop when server stop !?
Also How internally it maintained ! Like to know its archetecture in short summry.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Expert please explain how cron jobs works in OpenERP ?
As how it start on server start and stop when server stop !?
Also How internally it maintained ! Like to know its archetecture in short summry.
Cron jobs scheduling
Cron jobs are defined in the ir_cron table/model. This module deals with all
cron jobs, for all databases of a single OpenERP server instance.
It defines a single master thread that will spawn (a bounded number of)
threads to process individual cron jobs.
The thread runs forever, checking every 60 seconds for new
'database wake-ups'. It maintains a heapq of database wake-ups. At each
wake-up, it will call ir_cron._run_jobs_multithread() for the given database. _run_jobs_multithread
will check the jobs defined in the ir_cron table and spawn accordingly threads
to process them.
This module's behavior depends on the following configuration variable:
openerp.conf.max_cron_threads.
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
ม.ค. 24
|
3067 | ||
|
0
เม.ย. 22
|
4518 | ||
|
0
ม.ค. 17
|
4756 | ||
|
0
ธ.ค. 15
|
5043 | ||
|
3
ก.ย. 23
|
12273 |