Сам модуль - http://www.opencart.com/index.php?route=extension/extension/info&extension_id=3514 необходимо настроить работу по крону, либо я чего то не понимаю, либо лыжи не едут. В настройках нужно указать некий параметр который будет GET передаваться и модуль будет обрабатывать запрос в обход авторизации в админке магазина.
Затем создаем задание в cron как я понимаю нужно периодично посылать гет.
И когда я провожу тесты получается следующая ситуация. Взяв любой браузер (Чистый) водим в строку запроса
http://svetavto.com.ua/admin/index.php?route=module/notify_when_arrives/notify&nwa_cron_key=rassol2
И модуль все обрабатывает, рассылает письма и так далее. Но по крону ничего подобного не происходит. Включил отсчет на почту и в отсчете не приходит html разметка страницы авторизации в админку, и ничего не срабатывает. Такое впечатление что встроенный обход авторизации срабатывает только при вызове его в браузере.
При вызове вручную в браузере на белом экране видно что то вроде.
При кроне в отчете приходит.
<!DOCTYPE html>
<html dir=ltr lang=ru>
<head>
<meta charset=UTF-8 />
<title>Авторизация</title>
<base href="http://svetavto.com.ua/admin/"/>
<link rel=stylesheet type="text/css" href="view/A.stylesheet,,_stylesheet.css+javascript,,_jquery,,_ui,,_themes,,_ui-lightness,,_jquery-ui-1.8.16.custom.css,Mcc.bbWtaUzNBe.css.pagespeed.cf.pcMxOMGwbb.css"/>
<style type="text/css">#supplerbutton1{background:#00cd00;color:#000}#supplerbutton2{background:#ee6363;color:#000}#supplerbutton3{background:#eec900;color:#000}#supplerbutton4{background:#ee6363;color:#000}#supplerbutton5{background:#1c86ee;color:#000}#supplerbutton6{background:#00cd00;color:#000}#supplerbutton7{background:#00cd00;color:#000}</style><script type="text/javascript" src="view/javascript/jquery/jquery-1.7.1.min.js.pagespeed.jm.DH1WDDTtpU.js"></script>
<script type="text/javascript" src="view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js.pagespeed.jm.GZhG5uBeth.js"></script>
<script src="view/javascript/jquery,_tabs.js,Mjm.-aGP2v0U5W.js+jquery,_superfish,_js,_superfish.js,Mjm.jIBD40gbCP.js+common.js,Mjm.u-CPOJDCRD.js.pagespeed.jc.12zClBlWmP.js"></script><script>eval(mod_pagespeed_C63E3HMk2M);</script>
<script>eval(mod_pagespeed_KJRIzSZdef);</script>
<script>eval(mod_pagespeed_2KnVBXTReu);</script>
<script type="text/javascript">$(document).ready(function(){$('#form').submit(function(){if($(this).attr('action').indexOf('delete',1)!=-1){if(!confirm('Удаление невозможно отменить! Вы уверены, что хотите это сделать?')){return false;}}});$('a').click(function(){if($(this).attr('href')!=null&&$(this).attr('href').indexOf('uninstall',1)!=-1){if(!confirm('Удаление невозможно отменить! Вы уверены, что хотите это сделать?')){return false;}}});});</script>
</head>
<body>
<div id=container>
<div id=header>
<div class=div1>
<div class=div2><script pagespeed_no_defer="">(function(){var d=window,e=document,f="documentElement",g="scrollTop",k="prototype",l="body",m="getAttribute",n="",p="1",q="data",r="img",s="load",t="number",u="on",v="onload",w="pagespeed_lazy_position",x="pagespeed_lazy_replaced_functions",y="pagespeed_lazy_src",z="position",A="relative",B="resize",C="scroll",D="src",E=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent(u+b,c);else{var h=a[u+b];a[u+b]=function(){c.call(this);h&&h.call(this)}}};d.pagespeed=d.pagespeed||{};var F=d.pagespeed,G=function(a){this.d=[];this.a=0;this.b=!1;this.n=a;this.e=null;this.i=0;this.j=200;this.c=!1};G[k].r=function(){var a=0;typeof d.pageYOffset==t?a=d.pageYOffset:e[l]&&e[l][g]?a=e[l][g]:e[f]&&e[f][g]&&(a=e[f][g]);var b=d.innerHeight||e[f].clientHeight||e[l].clientHeight;return{top:a,bottom:a+b,height:b}};G[k].m=function(a){var b=a[m](w);if(b)return parseInt(b,0);var b=a.offsetTop,c=a.offsetParent!
;c&&(b+=this.m(c));b=Math.max(b,0);a.setAttribute(w,b);return b};
G[k].q=function(a){var b=this.m(a);return{top:b,bottom:b+a.offsetHeight}};G[k].p=function(a,b){if(a.currentStyle)return a.currentStyle[b];if(e.defaultView&&e.defaultView.getComputedStyle){var c=e.defaultView.getComputedStyle(a,null);if(c)return c.getPropertyValue(b)}return a.style&&a.style[b]?a.style[b]:n};
G[k].o=function(a){if(!this.c&&(0==a.offsetHeight||0==a.offsetWidth))return!1;if(this.p(a,z)==A)return!0;var b=this.r(),c=a.getBoundingClientRect();c?(a=c.top-b.height,b=c.bottom):(c=this.q(a),a=c.top-b.bottom,b=c.bottom-b.top);return a<=this.a&&0<=b+this.a};
G[k].l=function(a){this.k(a);var b=this;d.setTimeout(function(){var c=a[m](y);if(null!=c)if((b.b||b.o(a))&&-1!=a.src.indexOf(b.n)){var h=a.parentNode,H=a.nextSibling;h&&h.removeChild(a);a.g&&(a.getAttribute=a.g);a.removeAttribute(v);a.removeAttribute(y);a.removeAttribute(x);h&&h.insertBefore(a,H);a.src=c}else b.d.push(a)},0)};G[k].loadIfVisible=G[k].l;G[k].t=function(){this.b=!0;this.f()};G[k].loadAllImages=G[k].t;G[k].f=function(){var a=this.d,b=a.length;this.d=[];for(var c=0;c<b;++c)this.l(a[c])};
G[k].h=function(a,b){return a.a?null!=a.a(b):null!=a[m](b)};G[k].u=function(){for(var a=e.getElementsByTagName(r),b=0;b<a.length;++b){var c=a[b];this.h(c,y)&&this.k(c)}};G[k].overrideAttributeFunctions=G[k].u;G[k].k=function(a){var b=this;this.h(a,x)||(a.g=a[m],a.getAttribute=function(a){a.toLowerCase()==D&&b.h(this,y)&&(a=y);return this.g(a)},a.setAttribute(x,p))};
F.s=function(a,b){var c=new G(b);F.lazyLoadImages=c;E(d,s,function(){c.c=!0;c.b=a;c.a=200;c.f()});0!=b.indexOf(q)&&((new Image).src=b);var h=function(){if(!(c.c&&a||c.e)){var b=c.j;(new Date).getTime()-c.i>c.j&&(b=0);c.e=d.setTimeout(function(){c.i=(new Date).getTime();c.f();c.e=null},b)}};E(d,C,h);E(d,B,h)};F.lazyLoadInit=F.s;})();
pagespeed.lazyLoadInit(true, "/ngx_pagespeed_static/1.JiBnMqyl6S.gif");
</script><img pagespeed_lazy_src="view/image/logo.png.pagespeed.ce.atcjagnEWw.png" title="Администрирование" onclick="location = 'http://svetavto.com.ua/admin/index.php?route=common/login'" pagespeed_url_hash=1390611064 src="/ngx_pagespeed_static/1.JiBnMqyl6S.gif" onload="pagespeed.lazyLoadImages.loadIfVisible(this);"/></div>
</div>
</div>
<div id=content>
<div class=box style="width: 400px; min-height: 300px; margin-top: 40px; margin-left: auto; margin-right: auto;">
<div class=heading>
<h1><img pagespeed_lazy_src="view/image/lockscreen.png.pagespeed.ce.XmckHPQLMq.png" alt="" pagespeed_url_hash=1582183372 src="/ngx_pagespeed_static/1.JiBnMqyl6S.gif" onload="pagespeed.lazyLoadImages.loadIfVisible(this);"/> Введите логин и пароль</h1>
</div>
<div class=content style="min-height: 150px; overflow: hidden;">
<form action="index.php?route=common/login" method=post enctype="multipart/form-data" id=form>
<table style="width: 100%;">
<tr>
<td style="text-align: center;" rowspan=4><img pagespeed_lazy_src="view/image/login.png.pagespeed.ce.VP3cXE9Bwf.png" alt="Введите логин и пароль" pagespeed_url_hash=3752506126 src="/ngx_pagespeed_static/1.JiBnMqyl6S.gif" onload="pagespeed.lazyLoadImages.loadIfVisible(this);"/></td>
</tr>
<tr>
<td>Логин<br/>
<input type=text name=username value="" style="margin-top: 4px;"/>
<br/>
<br/>
Пароль<br/>
<input type=password name=password value="" style="margin-top: 4px;"/>
<br/>
<a href="index.php?route=common/forgotten">Забыли пароль?</a>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td style="text-align: right;"><a onclick="$('#form').submit();" class=button>Войти</a></td>
</tr>
</table>
<input type=hidden name=redirect value="http://svetavto.com.ua/admin/index.php?route=module/notify_when_arrives/notify"/>
</form>
</div>
</div>
</div>
<script type="text/javascript" pagespeed_no_defer="">pagespeed.lazyLoadImages.overrideAttributeFunctions();</script><script type="text/javascript">$('#form input').keydown(function(e){if(e.keyCode==13){$('#form').submit();}});</script>
</div>
<script type="text/javascript">$(document).ready(function(){$(".list tr:even").css("background-color","#F4F4F8");});</script>
<div id=footer><a href="http://myopencart.ru">ocStore</a> © 2009-2015 Все права защищены.<br/>Версия 1.5.5.1.2</div>
<script pagespeed_no_defer="">(function(){var e=encodeURIComponent,f=window,h=document,m="width",n="documentElement",p="height",q="length",r="prototype",s="body",t="&",u="&ci=",w="&n=",x="&rd=",y=",",z="?",A="Content-Type",B="Microsoft.XMLHTTP",C="Msxml2.XMLHTTP",D="POST",E="application/x-www-form-urlencoded",F="img",G="input",H="load",I="oh=",J="on",K="pagespeed_url_hash",L="url=",M=function(a,c,d){if(a.addEventListener)a.addEventListener(c,d,!1);else if(a.attachEvent)a.attachEvent(J+c,d);else{var b=a[J+c];a[J+c]=function(){d.call(this);b&&b.call(this)}}};f.pagespeed=f.pagespeed||{};var N=f.pagespeed,O=function(a,c,d,b,g){this.d=a;this.f=c;this.g=d;this.a=g;this.c={height:f.innerHeight||h[n].clientHeight||h[s].clientHeight,width:f.innerWidth||h[n].clientWidth||h[s].clientWidth};this.e=b;this.b={}};O[r].j=function(a){a=a.getBoundingClientRect();return{top:a.top+(void 0!==f.pageYOffset?f.pageYOffset:(h[n]||h[s].parentNode||h[s]).scrollTop),left:a.left+(void 0!==f.pageXOffset?!
f.pageXOffset:(h[n]||h[s].parentNode||h[s]).scrollLeft)}};O[r].i=function(a){if(0>=a.offsetWidth&&0>=a.offsetHeight)return!1;a=this.j(a);var c=a.top.toString()+y+a.left.toString();if(this.b.hasOwnProperty(c))return!1;this.b[c]=!0;return a.top<=this.c[p]&&a.left<=this.c[m]};O[r].l=function(){for(var a=[F,G],c=[],d={},b=0;b<a[q];++b)for(var g=h.getElementsByTagName(a[b]),k=0;k<g[q];++k){var v=g[k].getAttribute(K);v&&g[k].getBoundingClientRect&&this.i(g[k])&&!(v in d)&&(c.push(v),d[v]=!0)}b=!1;a=I+this.g;this.a&&(a+=w+this.a);if(0!=c[q]){a+=u+e(c[0]);for(b=1;b<c[q];++b){d=y+e(c[b]);if(131072<a[q]+d[q])break;a+=d}b=!0}this.e&&(d=x+e(JSON.stringify(this.h())),131072>=a[q]+d[q]&&(a+=d),b=!0);N.criticalImagesBeaconData=a;if(b){var c=this.d,b=this.f,l;if(f.XMLHttpRequest)l=new XMLHttpRequest;else if(f.ActiveXObject)try{l=new ActiveXObject(C)}catch(P){try{l=new ActiveXObject(B)}catch(Q){}}l&&(l.open(D,c+(-1==c.indexOf(z)?z:t)+L+e(b)),l.setRequestHeader(A,E),l.send(a))}};O[r].h=funct!
ion(){for(var a={},c=h.getElementsByTagName(F),d=0;d<c[q];++d)!
{var b=c[d],g=b.getAttribute(K);if("undefined"==typeof b.naturalWidth||"undefined"==typeof b.naturalHeight||"undefined"==typeof g)break;if("undefined"==typeof a[b.src]&&0<b[m]&&0<b[p]&&0<b.naturalWidth&&0<b.naturalHeight||"undefined"!=typeof a[b.src]&&b[m]>=a[b.src].n&&b[p]>=a[b.src].m)a[g]={renderedWidth:b[m],renderedHeight:b[p],originalWidth:b.naturalWidth,originalHeight:b.naturalHeight}}return a};N.k=function(a,c,d,b,g){var k=new O(a,c,d,b,g);M(f,H,function(){f.setTimeout(function(){k.l()},0)})};N.criticalImagesBeaconInit=N.k;})();pagespeed.criticalImagesBeaconInit('/ngx_pagespeed_beacon','http://svetavto.com.ua/admin/index.php?route=module/notify_when_arrives/notify','DZ7ex1lw5m',false,'0G957TOHSrQ');</script></body></html>
на что я не обратил внимание подскажите ?