# A failing cron blocks all the other crons

**URL:** <https://discuss.tryton.org/t/a-failing-cron-blocks-all-the-other-crons/3168>\
**Category:** System Administrator\
**Created:** [September 1, 2020, 9:26am UTC](https://discuss.tryton.org/t/a-failing-cron-blocks-all-the-other-crons/3168 "2020-09-01T09:26:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [September 1, 2020, 9:26am UTC](https://discuss.tryton.org/t/a-failing-cron-blocks-all-the-other-crons/3168/1 "2020-09-01T09:26:26Z")

</div>

We have a system that uses several cron jobs to sync data in background. Sometimes, a cron fails because there is some data validation error that needs to be fixed by the user but we’ve noticed that once a cron fails all of the other crons are never executed because they are always executed on the same order.

What can we do to let the system execute the non failing crons when another cron job has failed?

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [September 1, 2020, 11:49am UTC](https://discuss.tryton.org/t/a-failing-cron-blocks-all-the-other-crons/3168/2 "2020-09-01T11:49:07Z")

</div>

For me, a failing cron job does not prevent other jobs to be run: [https://hg.tryton.org/trytond/file/default/trytond/ir/cron.py#l138](https://hg.tryton.org/trytond/file/default/trytond/ir/cron.py#l138)  
But also it is probably better to have non failing cron jobs at first.
