# Scheduled action companies

**URL:** https://discuss.tryton.org/t/scheduled-action-companies/3267
**Category:** Developer
**Created:** [September 23, 2020, 3:45pm UTC](https://discuss.tryton.org/t/scheduled-action-companies/3267 "2020-09-23T15:45:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![josesalvador](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/josesalvador/32/602_2.png) [@josesalvador](https://discuss.tryton.org/u/josesalvador)
#### Post date: [September 23, 2020, 3:45pm UTC](https://discuss.tryton.org/t/scheduled-action-companies/3267/1 "2020-09-23T15:45:34Z")

</div>

Have any sense to have scheduled actions with no company linked?

For example, IIRC scheduled action like _cron\_post\_clearing\_moves_ does nothing if there is no company linked, doesn’t it?

So if this is the case for almost (or all) scheduled actions, it would be a good thing to link automatically a company to all the scheduled actions when it is saved? (and unlink it when it will be removed, of course)

---

<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 23, 2020, 3:56pm UTC](https://discuss.tryton.org/t/scheduled-action-companies/3267/2 "2020-09-23T15:56:52Z")

</div>

This will happen when [Remove company record rules (#4080) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue4080) is implemented. As there will be no need to set company on cron jobs.
