# Background import do not work in mautic

**URL:** https://forum.mautic.org/t/background-import-do-not-work-in-mautic/24867
**Category:** Mautic 3 - Install/Upgrade Support
**Tags:** community, discussion, development
**Created:** [July 26, 2022, 8:42am UTC](https://forum.mautic.org/t/background-import-do-not-work-in-mautic/24867 "2022-07-26T08:42:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![rajupml](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rajupml/32/412_2.png) [@rajupml](https://forum.mautic.org/u/rajupml)
#### Post date: [July 26, 2022, 8:42am UTC](https://forum.mautic.org/t/background-import-do-not-work-in-mautic/24867/1 "2022-07-26T08:42:45Z")

</div>

**Your software** Mautic-3.3.3  
_My PHP version is_ : php7.4  
_My MySQL/MariaDB version is_ (delete as applicable): MySQL/MariaDB version

**Updating/Installing Errors**  
_I am_ (delete as applicable): Installing / Updating  
_Upgrading/installing via_ (delete as applicable) : Web / Command Line

_These errors are showing in the installer_ :

_These errors are showing in the Mautic log_ :

_These errors are showing in the upgrade\_log.txt file (located in the root of your Mautic instance when an upgrade has been attempted - ensure you remove or redact any sensitive data such as domain names in the file path)_ :

**Your problem**  
_My problem is_: Background import does not work import emails by default stopped, when we do the unpublished and published button click it will work, Please how to resolve this issue.

_Steps I have tried to fix the problem_ :

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [July 26, 2022, 9:49am UTC](https://forum.mautic.org/t/background-import-do-not-work-in-mautic/24867/2 "2022-07-26T09:49:17Z")

</div>

Have you added the cron command for imports?

---

<div class="post-metadata">

### Author: ![rajupml](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rajupml/32/412_2.png) [@rajupml](https://forum.mautic.org/u/rajupml)
#### Post date: [July 26, 2022, 11:16am UTC](https://forum.mautic.org/t/background-import-do-not-work-in-mautic/24867/3 "2022-07-26T11:16:04Z")

</div>

Yes cron Added

---

<div class="post-metadata">

### Author: ![rajupml](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rajupml/32/412_2.png) [@rajupml](https://forum.mautic.org/u/rajupml)
#### Post date: [July 26, 2022, 11:16am UTC](https://forum.mautic.org/t/background-import-do-not-work-in-mautic/24867/4 "2022-07-26T11:16:54Z")

</div>

command: \*/5 \* \* \* \* root /usr/bin/php /home/example/public\_html/mautic/bin/console mautic:import

---

<div class="post-metadata">

### Author: ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)
#### Post date: [July 26, 2022, 12:25pm UTC](https://forum.mautic.org/t/background-import-do-not-work-in-mautic/24867/5 "2022-07-26T12:25:07Z")

</div>

what happens if you run this as a command?

/usr/bin/php /home/example/public\_html/mautic/bin/console mautic:import

Btw is that root needed there?

---

<div class="post-metadata">

### Author: ![rajupml](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/rajupml/32/412_2.png) [@rajupml](https://forum.mautic.org/u/rajupml)
#### Post date: [September 6, 2022, 8:19am UTC](https://forum.mautic.org/t/background-import-do-not-work-in-mautic/24867/6 "2022-09-06T08:19:29Z")

</div>

Yes root is needed bcoz there is no root cron is not working
