Mautic Community Forums

Static list, Campaigns & Cronjobs problem

Your software
My Mautic version is: 3.0.0
My PHP version is: 7.2
My Database type and version is: MariaDB 10.3.27

Your problem

My problem is:

Hi,

After importing a csv contact file into a newly created “segment A”, my campaign can’t perform actions on these contacts.

I did an import of about 700 contacts. I did a second import of that csv file again (after some edits) and I was expecting the contacts to be updated in the “segment A”. But the contacts was duplicated in the same segment with almost the same exact details (the file edit was performed on just few contacts -2 or 3 rows-, no big difference between the two files).

Between the two files, the unique ID is kept the same, =email, except for 1 contact the email was edited due to a typo.

Now I’m trying to delete all these 1400 contacts using a campaign. But it was unseccessful operation.

Steps I have tried to fix the problem:

I’ve created campaigns with:

campaign 1
Source = “segment A”
Action = modify contact tag : add “tag B” + delete old “tag A”
Action = modify contact segment (from “segment A” to “segment B” that is already created before)

campaign 2
Source = “segment B”
Condition = “tag B” true, then
Action = delete contact

In cpanel I’ve created earlier a couple of cron jobs and I ordered an output file for my cron jobs for troubleshooting purpose. My cron jobs commands are:

php /"xxxx"/console mautic:webhooks:process > /"yyyy"/webhooksoutput.txt
php /"xxxx"/console mautic:segments:update > /"yyyy"/segmentsoutput.txt
php /"xxxx"/console mautic:campaigns:update > /"yyyy"/campaignsupdateoutput.txt
php /"xxxx"/console mautic:campaigns:trigger > /"yyyy"/campaignstriggeroutput.txt
php /"xxxx"/console mautic:emails:send > /"yyyy"/emailssendoutput.txt
php /"xxxx"/console mautic:email:fetch > /"yyyy"/emailsfetchoutput.txt
php /"xxxx"/console mautic:iplookup:download > /"yyyy"/iplookupdownloadoutput.txt

(“xxxx” stands for my mautic installation path to console file & “yyyy” stands for my path to the output folder. Except these 2, the cronjobs commands are excactly as entered in my interface)

These errors are showing in the log:

All outputfile.txt are created and empty (0 bytes) except the outputfile “campaignstriggeroutput.txt”
Here is its content:

Triggering events for campaign 4
Triggering events for newly added contacts
0 total events(s) to be processed in batches of 100 contacts

0 total events were executed
0 total events were scheduled

Triggering scheduled events
0 total events(s) to be processed in batches of 100 contacts

0 total events were executed
0 total events were scheduled

Triggering events for inactive contacts

0 total events were executed
0 total events were scheduled

Triggering events for campaign 5
Triggering events for newly added contacts
0 total events(s) to be processed in batches of 100 contacts

0 total events were executed
0 total events were scheduled

Triggering scheduled events
0 total events(s) to be processed in batches of 100 contacts

0 total events were executed
0 total events were scheduled

Triggering events for inactive contacts

0 total events were executed
0 total events were scheduled

Content-type: text/html; charset=UTF-8

Where is my mistake ?