Page 1 of 1

scheduled sending

PostPosted: Sat Aug 01, 2015 8:51 am
by mmm
cron: works, all 6 tasks are getting done
scheduled sending: works, campaigns go out

yet: "Scheduled Sending Has Not Run Yet"

How is that possible? How can this be fixed?

Re: scheduled sending

PostPosted: Mon Aug 31, 2015 3:22 pm
by MaBoRaK
I found this type of errors when the Timezone of: PHP and Interspire are totally different.

So, the scenario is:

php cron is executed: ( for example: 3:00 AM )

but Interspire timezone is 5:00 AM , then Interspire will always think, the cron was not executed.


I found this problem in servers where they have custom php.ini, so there is a php.ini for ClI and another for HTTPD/APACHE also they have a custom php.ini working with .htaccess

Re: scheduled sending

PostPosted: Tue Sep 01, 2015 7:28 pm
by mmm
Thanks, great tip.

Checked cpanel & Interspire Email Marketer time(zones), both the same.

Using wget for cron as even with the right php command there are errors.
Also using ntPHPselector.

Any ideas where the error could hide?

Re: scheduled sending

PostPosted: Wed Sep 02, 2015 3:14 am
by MaBoRaK
loading.......

There is a way to test:

create the file: a.php with the content

Code: Select all
<?php
echo date('l jS \of F Y h:i:s A');


upload to: /to/your/Interspire Email Marketer/admin/a.php

first: Execute in url: http://youriem.com/admin/a.php

Execute the file from SSH: /usr/local/bin/php /path/to/your/Interspire Email Marketer/admin/a.php

If everything is correct both executions will display the same date.


connection closed.

Re: scheduled sending

PostPosted: Wed Sep 02, 2015 10:18 am
by mmm
Great test.

Outputs are identical for
web test
and
ssh cli test
which is good, technically.

But the
"Scheduled Sending Has Not Run Yet"
remains
:(

Can it be related to calling the cron with wget or because ntPHPselector is being used to choose which php version is run per path/directory?