# How to trigger a campaign?

**URL:** https://forum.mautic.org/t/how-to-trigger-a-campaign/1998
**Category:** Product Support
**Created:** [June 23, 2015, 12:12am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign/1998 "2015-06-23T00:12:18Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![intelligenzia](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@intelligenzia](https://forum.mautic.org/u/intelligenzia)
#### Post date: [June 23, 2015, 12:12am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign/1998/1 "2015-06-23T00:12:18Z")

</div>

I’m really triyng hard - did already everything I could, but I can’t in no way to make the campaigns work - any clue of how to do it? I’m creating a campaign starting from a lead list - but is seems the list does not load into the campaign and the emails are not sent. Can someone help me? ![=)]( "=)")

---

<div class="post-metadata">

### Author: ![intelligenzia](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@intelligenzia](https://forum.mautic.org/u/intelligenzia)
#### Post date: [June 23, 2015, 12:12am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign/1998/2 "2015-06-23T00:12:18Z")

</div>

I’m really triyng hard - did already everything I could, but I can’t in no way to make the campaigns work - any clue of how to do it? I’m creating a campaign starting from a lead list - but is seems the list does not load into the campaign and the emails are not sent. Can someone help me? =)

---

<div class="post-metadata">

### Author: ![intelligenzia](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@intelligenzia](https://forum.mautic.org/u/intelligenzia)
#### Post date: [June 23, 2015, 12:29am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign/1998/3 "2015-06-23T00:29:58Z")

</div>

I’m doing the same thing in my server and in your server. Your server= leads list is loading. My server= not. Why? It’s the same software. Any ideas???

---

<div class="post-metadata">

### Author: ![wbuist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/wbuist/32/21_2.png) [@wbuist](https://forum.mautic.org/u/wbuist)
#### Post date: [June 23, 2015, 9:03am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign/1998/4 "2015-06-23T09:03:18Z")

</div>

You need t set up the cron jobs for your server to action the campaigns. Details are here : [https://www.mautic.org/docs/setup/index.html](https://www.mautic.org/docs/setup/index.html)

---

<div class="post-metadata">

### Author: ![intelligenzia](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@intelligenzia](https://forum.mautic.org/u/intelligenzia)
#### Post date: [June 24, 2015, 12:33am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign/1998/5 "2015-06-24T00:33:01Z")

</div>

I did it and it is still not working:

Failed to start the session because headers have already been sent by “” at line 0.

What does it mean? How to correct it?

Thanks

---

<div class="post-metadata">

### Author: ![intelligenzia](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@intelligenzia](https://forum.mautic.org/u/intelligenzia)
#### Post date: [June 24, 2015, 2:01am UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign/1998/6 "2015-06-24T02:01:37Z")

</div>

I found it out:

/usr/bin/php-cli -q /home/xx/public\_html/xx/app/console mautic:leadlists:update --env=prod

This is specially useful if you are running it on a shared host, like I do. (GoDaddy)

Thanks

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/how-to-trigger-a-campaign/1998/7 "2020-02-02T22:59:24Z")

</div>


