XML Sitemaps Generator

Author Topic: Cron job not working  (Read 3392 times)

peter55

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Cron job not working
« on: December 27, 2016, 06:46:21 PM »
setup cron ends with:

/var/customers/webs/xx/joomla/web1/generator/runcrawl.php: line 1: ?php: No such file or directory
/var/customers/webs/xx/joomla/web1/generator/runcrawl.php: line 102: syntax error near unexpected token `<'
/var/customers/webs/xx/joomla/web1/generator/runcrawl.php: line 102: `$HsuDl39014892bseOT=716531311;$NkqWj85080567PXEsr=883478455;$utiYP47298584aUbOL=572388489;$uLIwB40981445irUbP=813480164;$zalsC46441650lhnBU=139472229;$HDNTq88991700oLCBK=579583435;$KxTfu58944092knzJY=666532532;$iSlmL71611328MeKyv=431538269;$bbQKT17305908OQzdZ=405319397;$WqUMj11340332Zahot=619094666;$GFjAE34027099FIHCK=604582825;$iTmdC20678711rZGaC=393002624;$MOwVj41607666SyHGa=515072815;$jFqJB32126465FARNp=3012145;$dfyjV62547608toUpe=386539368;$yCnmT68183594sEDly=697873230;$qBHqA29346924JrTse=468732483;$VpuDy61350098BlSaM=729335877;$dZlng54505615twVWT=12402160;$wSpMH34125976SrSIw=347150085;$msKCv70523682aaCMB=266298401;$YiVhH99011231fxrsQ=800065857;$GRWEY99901124DjJMa=481171204;$VaUSz98505860RvFPO=339833191;$vDXOM75137940LMPJt=906770569;$jKmwA55109863XvgVH=215202087;$KsrnZ18734130hFqWa=793846497;$FnGen81323242QIHdw=675922547;$AxghQ43189697HBVTv=392148987;$SZJiv19645996PfbyK=972744568;$ukDji81004639vLJoE=950428040;$UpITw72578125OPOEt=356418152;$JrXPq64678955WgIQM=720433655;$cIKYm82619629LwYZx=75693298;$MpGAa16712646dBVXN=950915833;$vmjne72270508eREaX=380320007;$yDKNn49605713wBSEG=892624573;$BMccM64030762VTKjF=521048279;$sjNfR95858155CWYKU=795309876;$lzWPE80400391IdxHx=747628113;$VPGyX87969971jBmOG=908721741;$bVSEM53879395xMDlC=310809509;$ixzYK48441162jbJIm=483610168;$VZRhW96967774bXkGU=459342468;$kUerf89771729pfUZM=768725159;$VbNev52165527rjAJH=443976990;$vIqJA54461670gJaIR=15816711;$IBdpB31972656mdqzR=514463074;$MPWZO55010986Sqlpv=472634827;$zTDXa58889160NsZXd=920550721;?><?php $op = $_REQUEST['op'] = 'crawlproc'; if(isset($_SERVER['REQUEST_METHOD'])) { echo 'This tool can be executed in command line mode only'; exit; } $sAg5YsdwOc = true; chdir(dirname(__FILE__)); $_REQUEST['bg'] = true; $_REQUEST['resume'] = true; include './index.php'; '



XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10913
Re: Cron job not working
« Reply #1 on: December 28, 2016, 08:39:15 AM »
Hello,

what is the command line you use for the cron task?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

peter55

  • Registered Customer
  • Approved member
  • *
  • Posts: 8
Re: Cron job not working
« Reply #2 on: December 29, 2016, 10:42:27 AM »
fixed it. use the php in front .. right after the user. Don't forget to set the user correct. root won't work.

 

SMF 2.0.14 | SMF © 2017, Simple Machines
XHTML RSS WAP2