<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dicas &#8211; Maico Oliveira Buss &#8211; Inovação e Tecnologia</title>
	<atom:link href="https://maicobuss.com.br/category/dicas/feed/" rel="self" type="application/rss+xml" />
	<link>https://maicobuss.com.br</link>
	<description></description>
	<lastBuildDate>Wed, 27 Aug 2025 11:09:24 +0000</lastBuildDate>
	<language>pt-BR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://maicobuss.com.br/wp-content/uploads/2021/03/cropped-Ativo-1-e1614914724625-50x50.png</url>
	<title>Dicas &#8211; Maico Oliveira Buss &#8211; Inovação e Tecnologia</title>
	<link>https://maicobuss.com.br</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Porque nunca tenho tempo?</title>
		<link>https://maicobuss.com.br/porque-nunca-tenho-tempo/</link>
					<comments>https://maicobuss.com.br/porque-nunca-tenho-tempo/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Tue, 06 Apr 2021 21:58:30 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<guid isPermaLink="false">https://www.maicobuss.com.br/?p=5396</guid>

					<description><![CDATA[Você também se pergunta isso várias vezes na semana, ou no mesmo dia? Então tire mais 5min do seu precioso tempo e leia esse texto...]]></description>
										<content:encoded><![CDATA[<p>Você também se pergunta isso várias vezes na semana, ou no mesmo dia?<br />
Então tire mais 5min do seu precioso tempo e leia esse texto do EL PAIS:<br />
<a href="https://brasil.elpais.com/brasil/2020/08/17/eps/1597678357_478707.html" target="_blank" rel="noopener">https://brasil.elpais.com/brasil/2020/08/17/eps/1597678357_478707.html</a></p>
<p>&nbsp;</p>
<h6><span style="color: #999999;">Créditos da foto que ilustra este post:</span><br />
<span style="color: #999999;">Photo by <a style="color: #999999;" href="https://www.pexels.com/@bocman?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Eugene Shelestov</a> from <a style="color: #999999;" href="https://www.pexels.com/photo/person-holding-burning-paper-in-dark-room-33930/?utm_content=attributionCopyText&amp;utm_medium=referral&amp;utm_source=pexels">Pexels</a></span></h6>
]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/porque-nunca-tenho-tempo/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Dicas para desenvolvedores(as) em 2020</title>
		<link>https://maicobuss.com.br/dicas-para-desenvolvedoresas-em-2020/</link>
					<comments>https://maicobuss.com.br/dicas-para-desenvolvedoresas-em-2020/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Tue, 19 May 2020 20:39:40 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=5236</guid>

					<description><![CDATA[&#8211; Crie sua própria Caixa de Ferramentas; &#8211; Escolha uma habilidade de cada vez para trabalhar e aprenda até se sentir confortável; &#8211; Não se...]]></description>
										<content:encoded><![CDATA[<p>&#8211; Crie sua própria Caixa de Ferramentas;<br />
&#8211; Escolha uma habilidade de cada vez para trabalhar e aprenda até se sentir confortável;<br />
&#8211; Não se compare com os outros (você tem o seu tempo de aprendizagem);<br />
&#8211; Tire alguns minutos para aprender sobre teclas de atalho (vai facilitar sua vida);<br />
&#8211; Encontre um mentor (ter um profissional referência faz toda a diferença);<br />
&#8211; Aprenda como &#8220;debugar&#8221;;<br />
&#8211; Encontre uma comunidade;<br />
&#8211; Desafie-se a fazer coisas novas;<br />
&#8211; Identifique seu estilo de aprendizado;<br />
&#8211; Descubra como se manter atualizado;<br />
&#8211; Faça pausas;<br />
&#8211; Comemore suas vitórias (elas vão ser o motivador para seguir evoluindo);<br />
&#8211; Priorize seus valores;<br />
&#8211; Use sua energia para o bem;<br />
&#8211; Não esqueça que trabalhar nessa área é um privilegio enorme.</p>
<p>First on: GuiaDev</p>
]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/dicas-para-desenvolvedoresas-em-2020/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>B2 mídia: Liderança que sabe comunicar garante resultados melhores</title>
		<link>https://maicobuss.com.br/b2-midia-lideranca-que-sabe-comunicar-garante-resultados-melhores/</link>
					<comments>https://maicobuss.com.br/b2-midia-lideranca-que-sabe-comunicar-garante-resultados-melhores/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Tue, 10 Sep 2019 22:08:45 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=5202</guid>

					<description><![CDATA[Liderança que sabe comunicar garante resultados melhores]]></description>
										<content:encoded><![CDATA[<blockquote class="wp-embedded-content" data-secret="2qrJqZtzwX"><p><a href="https://b2midia.com.br/lideranca-que-sabe-comunicar-garante-resultados-melhores/">Liderança que sabe comunicar garante resultados melhores</a></p></blockquote>
<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Liderança que sabe comunicar garante resultados melhores&#8221; &#8212; B2 Mídia" src="https://b2midia.com.br/lideranca-que-sabe-comunicar-garante-resultados-melhores/embed/#?secret=XLpQpgMtsJ#?secret=2qrJqZtzwX" data-secret="2qrJqZtzwX" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p>
]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/b2-midia-lideranca-que-sabe-comunicar-garante-resultados-melhores/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tecnoblog: Como comparar preço de Uber, Cabify, 99, Easy, táxi, Wappa, Lyft e outros</title>
		<link>https://maicobuss.com.br/tecnoblog-como-comparar-preco-de-uber-cabify-99-easy-taxi-wappa-lyft-e-outros/</link>
					<comments>https://maicobuss.com.br/tecnoblog-como-comparar-preco-de-uber-cabify-99-easy-taxi-wappa-lyft-e-outros/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Wed, 12 Jun 2019 13:34:41 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=5198</guid>

					<description><![CDATA[https://tecnoblog.net/293922/como-comparar-preco-de-uber-cabify-99-easy-taxi-wappa-lyft-e-outros/]]></description>
										<content:encoded><![CDATA[<p>https://tecnoblog.net/293922/como-comparar-preco-de-uber-cabify-99-easy-taxi-wappa-lyft-e-outros/</p>
]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/tecnoblog-como-comparar-preco-de-uber-cabify-99-easy-taxi-wappa-lyft-e-outros/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Life as a Service</title>
		<link>https://maicobuss.com.br/life-as-a-service/</link>
					<comments>https://maicobuss.com.br/life-as-a-service/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Mon, 25 Sep 2017 17:09:02 +0000</pubDate>
				<category><![CDATA[Vídeos Recomendados]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=5126</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/life-as-a-service/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Escolas Matam a Criatividade</title>
		<link>https://maicobuss.com.br/escolas-matam-a-criatividade-murilo-gun-tedxfortaleza/</link>
					<comments>https://maicobuss.com.br/escolas-matam-a-criatividade-murilo-gun-tedxfortaleza/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Mon, 25 Sep 2017 16:35:59 +0000</pubDate>
				<category><![CDATA[Vídeos Recomendados]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=5122</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/escolas-matam-a-criatividade-murilo-gun-tedxfortaleza/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Inserindo máscaras em campos de formulário HTML com JavaScript</title>
		<link>https://maicobuss.com.br/5069/</link>
					<comments>https://maicobuss.com.br/5069/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Thu, 15 Jun 2017 22:38:21 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[máscaras]]></category>
		<category><![CDATA[mask]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=5069</guid>

					<description><![CDATA[Uma biblioteca javascript (na verdade um plugin jQuery) que auxilia muito na inserção de máscaras em inputs (campos) de formulários HTML é a Masked Input...]]></description>
										<content:encoded><![CDATA[<p>Uma biblioteca javascript (na verdade um plugin jQuery) que auxilia muito na inserção de máscaras em inputs (campos) de formulários HTML é a Masked Input Plugin.</p>
<p>Uma máscara pode ser definida como um padrão composto por caracteres em posições pré-definidas. Exemplos comuns são máscaras em campos para cadastros de CPF, CEP, telefones entre vários outros.</p>
<p>O Masked Input Plugin foi testado no Internet Explorer, Firefox, Safari, Opera e Chrome.</p>
<p>Para construir as máscaras este plugin utiliza as seguintes regras:</p>
<p>a – Representa um caractere alfabético (AZ, az)<br />
9 – Representa um carácter numérico (0-9)<br />
* – Representa um caractere alfanumérico (AZ, az ,0-9)</p>
<h3>Como Utilizar:</h3>
<p><strong>Primeiro, inclua os arquivos javascript jQuery e masked input:</strong></p>
<pre class="lang:default decode:true">&lt;script src="jquery.js" type="text/javascript"&gt;&lt;/script&gt; 
&lt;script src="jquery.maskedinput.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p>&nbsp;</p>
<p class="html prettyprint"><strong>Em seguida, chame a função de máscara para os campos (inputs) que você deseja ter mascarados:</strong></p>
<pre class="lang:default decode:true ">jQuery(function($){ &amp;nbsp; &amp;nbsp;
$("#data").mask("99/99/9999",{placeholder:"dd/mm/aaaa"}); &amp;nbsp; &amp;nbsp;
$("#celular").mask("(99) 99999-9999"); 
});</pre>
<p>&nbsp;</p>
<h5> <strong>Resumo:</strong></h5>
<pre class="lang:default decode:true ">&lt;html&gt; 
&lt;head&gt; 
&lt;script src="jquery.js" type="text/javascript"&gt;&lt;/script&gt; 
&lt;script src="jquery.maskedinput.js" type="text/javascript"&gt;&lt;/script&gt; 
&lt;/head&gt; 
&lt;body&gt; 
... 
&lt;form&gt; 
... 
&lt;input type="text" id="data"&gt; 
&lt;input type="text" id="celular"&gt; 
... 
&lt;/form&gt; 
... 
jQuery(function($){ &amp;nbsp; &amp;nbsp;
$("#data").mask("99/99/9999",{placeholder:"dd/mm/aaaa"}); &amp;nbsp; &amp;nbsp;
$("#celular").mask("(99) 99999-9999"); 
}); 

&lt;/body&gt; 
&lt;/html&gt;</pre>
<p><a href="https://maicobuss.com.br/wp-content/uploads/2017/06/jquery.maskedinput.js">Efetue o download do plugin Masked Input clicando aqui.</a></p>
<p>Mais informações: <a href="http://digitalbush.com/projects/masked-input-plugin/">http://digitalbush.com/projects/masked-input-plugin/</a></p>
<p style="text-align: center;">
<p style="text-align: center;">[wpedon id=5090]
]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/5069/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Como tirar print screen e enviar pela internet</title>
		<link>https://maicobuss.com.br/como-tirar-print-screen-e-enviar-pela-internet/</link>
					<comments>https://maicobuss.com.br/como-tirar-print-screen-e-enviar-pela-internet/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Fri, 24 Feb 2017 02:34:30 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=215</guid>

					<description><![CDATA[Tirar um print screen ou fazer uma imagem com o que está na tela é fácil, já ensinamos no post como tirar/fazer um print screen, mas...]]></description>
										<content:encoded><![CDATA[<div class="entry-content clearfix">
<p><strong>Tirar um print screen ou fazer uma imagem com o que está na tela</strong> é fácil, já ensinamos no post <a title="Como fazer print screen da tela do computador" href="http://www.sabecomofazer.com.br/como-fazer-print-screen-da-tela-do-computador/" target="_blank" rel="noopener noreferrer">como tirar/fazer um print screen</a>, mas uma novidade que achamos é um site que<strong> salva o print screen tirado em um link</strong> que pode ser enviado por e-mail, twitter, facebook ou qualquer outro meio que permita o envio de um link.</p>
<p>Usando essa ferramenta você não vai mais precisar <strong>salvar o print em formato jpg</strong>, anexar num e-mail ou subir para algum site de compartilhamento de imagem para enviar para um amigo ou pelas redes sociais.</p>
<p>O site é simples e tem todas as ferramentas necessárias nele.</p>
<p>Para<strong> tirar um print screen e enviar por link</strong> pela internet deixe a tela do jeito que você quer tirar o print e aperte o botão “<strong>print screen</strong>” do seu teclado, acesse o site <a href="http://snag.gy/" target="_blank" rel="nofollow noopener noreferrer">http://snag.gy/</a> e aperte ctrl + V. Em seguida o site irá gerar a imagem e o link para compartilhar.</p>
<p>Você ainda pode editar a imagem adicionando textos ou desenhos ou cortando pedaço desnecessário de tela.</p>
<p><a href="http://www.sabecomofazer.com.br/wp-content/uploads/2013/06/editando-print-screen.jpg"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-2010" src="http://www.sabecomofazer.com.br/wp-content/uploads/2013/06/editando-print-screen.jpg" sizes="(max-width: 763px) 100vw, 763px" srcset="http://www.sabecomofazer.com.br/wp-content/uploads/2013/06/editando-print-screen.jpg 763w, http://www.sabecomofazer.com.br/wp-content/uploads/2013/06/editando-print-screen-568x121.jpg 568w, http://www.sabecomofazer.com.br/wp-content/uploads/2013/06/editando-print-screen-624x133.jpg 624w" alt="Editar print screen online" width="763" height="163" /></a></p>
<p>Com o link gerado compartilhe com quem desejar.</p>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/como-tirar-print-screen-e-enviar-pela-internet/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>35 sites que vão te ajudar a ser um profissional melhor</title>
		<link>https://maicobuss.com.br/35-sites-que-vao-te-ajudar-a-ser-um-profissional-melhor/</link>
					<comments>https://maicobuss.com.br/35-sites-que-vao-te-ajudar-a-ser-um-profissional-melhor/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Sat, 24 Sep 2016 02:21:41 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=211</guid>

					<description><![CDATA[Conheça os sites que também são ferramentas de organização, orientação profissional e até de entretenimento &#160; 35 sites que vão te ajudar a ser um...]]></description>
										<content:encoded><![CDATA[<p>Conheça os sites que também são ferramentas de organização, orientação profissional e até de entretenimento</p>
<p>&nbsp;</p>
<p>35 sites que vão te ajudar a ser um profissional melhor &#8211; InfoMoney<br />
Veja mais em: <a href="http://www.infomoney.com.br/minhas-financas/gadgets/noticia/3852300/sites-que-vao-ajudar-ser-profissional-melhor">http://www.infomoney.com.br/minhas-financas/gadgets/noticia/3852300/sites-que-vao-ajudar-ser-profissional-melhor</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/35-sites-que-vao-te-ajudar-a-ser-um-profissional-melhor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>set up cron job for osTicket</title>
		<link>https://maicobuss.com.br/set-up-cron-job-for-osticket/</link>
					<comments>https://maicobuss.com.br/set-up-cron-job-for-osticket/#respond</comments>
		
		<dc:creator><![CDATA[Maico]]></dc:creator>
		<pubDate>Thu, 07 Jul 2016 01:39:45 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<guid isPermaLink="false">http://www.maicobuss.com.br/?p=199</guid>

					<description><![CDATA[Cron Job Tutorial How to set up cron job for osTicket? What cron job setting shall I use? Question: I installed osTicket on my server,...]]></description>
										<content:encoded><![CDATA[<div class="breadcrumbs margin-bottom-40">
<div class="container">
<h2 class="pull-left">Cron Job Tutorial</h2>
</div>
</div>
<div class="container">
<div class="row-fluid margin-bottom-20">
<div class="span7">
<div>
<h1>How to set up cron job for osTicket? What cron job setting shall I use?</h1>
</div>
<div>
<p>Question:</p>
<p class="wordingPara">I installed <a class="defaultBlue" href="http://www.osticket.com/" target="_blank" rel="nofollow">osTicket</a> on my server, and I want to set up a cron job to trigger osTicket&#8217;s cron job script. What should I do to set up the cron job?</p>
</div>
<div>
<p>Answer:</p>
<p class="wordingPara">Our webcron service is best for triggering osTicket&#8217;s cron job script. Just follow below simple steps to configure cron job for your osTicket:</p>
<ol class="wordingList">
<li>
<p class="wordingPara">Find <b>rcron.php</b> in &#8220;scripts&#8221; folder and change:</p>
<p class="wordingPara">1) line 24 from</p>
<p class="wordingPara"><code>'url'=&gt;'http://yourdomain.com/support/api/tasks/cron',</code></p>
<p class="wordingPara">to</p>
<p class="wordingPara"><code>'url'=&gt;'{your osticket installed location}/api/tasks/cron',</code></p>
<p class="wordingPara">NOTE: <b>Don&#8217;t</b> change &#8220;/api/tasks/cron&#8221;!</p>
<p class="wordingPara">2) line 25 from</p>
<p class="wordingPara"><code>'key'=&gt;'API KEY HERE'</code></p>
<p class="wordingPara">to</p>
<p class="wordingPara"><code>'key'=&gt;'your generated API key'</code></p>
<p class="wordingPara">NOTE: Please use <b>your web server&#8217;s IP</b> (on which your osticket was installed) to generate the API key. Check below:</p>
<div><a class="fancybox-button zoomer img-modal" title="Set up osTicket API key " href="https://www.easycron.com/assets/img/tutorials/osticket-cron.png" target="_blank" data-rel="fancybox-button"><img decoding="async" src="https://www.easycron.com/assets/img/tutorials/osticket-cron.png" /></a><br />
Set up osTicket API key</div>
<div><a class="fancybox-button zoomer img-modal" title="Edit the osTicket rcron.php file" href="https://www.easycron.com/assets/img/tutorials/osticket-set-cron.png" target="_blank" data-rel="fancybox-button"><img decoding="async" src="https://www.easycron.com/assets/img/tutorials/osticket-set-cron.png" /></a><br />
Edit the osTicket rcron.php file</div>
</li>
<li>
<p class="wordingPara">Rename the filename from rcron.php to a secret name (for example 123rcron.php). Or you can upload it to a secret location on your web server later without changing the filename.</p>
</li>
<li>
<p class="wordingPara">Upload 123rcron.php to your web server (to any location that can be accessed via HTTP). For example, http://www.example.com/123rcron.php.</p>
</li>
<li>Open your<br />
<form action="https://www.easycron.com/user/tryit" method="POST" target="_blank"><input class="" type="submit" value="cron job dashboard" /></form>
<p>, click on &#8220;Create New Cron Job&#8221; button.</li>
<li>In field &#8220;URL to call&#8221;, enter <b>http://www.example.com/rcron.php</b> (replace www.example.com with your install location). Choose an appropriate cron job execution frequancy (for osTicket, we recommend to have the cron job run &#8220;every 5 minutes&#8221;). Checkout below screenshot:
<div><a class="fancybox-button zoomer img-modal" title="How to set up cron job for osTicket" href="https://www.easycron.com/assets/img/tutorials/osticket-cron-job.png" target="_blank" data-rel="fancybox-button"><img decoding="async" src="https://www.easycron.com/assets/img/tutorials/osticket-cron-job.png" /></a><br />
Set up cron job for osTicket</div>
</li>
<li>If necessary, finish the other optional settings.</li>
<li>Click &#8220;Create Cron Job&#8221; button. You&#8217;re done! EasyCron will trigger your osTicket&#8217;s cron job script dutifully according to your time setting.</li>
<li>If you haven&#8217;t registered your EasyCron account yet, click on the &#8220;add a password&#8221; link on the top to add an email and password to your account.</li>
</ol>
</div>
</div>
</div>
<hr />
</div>
<div id="partial-discussion-header" class="gh-header js-details-container js-socket-channel js-updatable-content issue" data-channel="tenant:1:issue:24686754" data-url="/osTicket/osTicket/issues/351/show_partial?partial=issues%2Ftitle">
<div class="gh-header-show ">
<h1 class="gh-header-title"><span class="js-issue-title">i have a problem with cron not working i get the following: &#8212; Parse error: syntax error, unexpected T_FUNCTION in /home/thedust2/public_html/help/include/class.ticket.php on line 1923</span> <span class="gh-header-number">#351</span></h1>
</div>
<div class="flex-table gh-header-meta">
<div class="flex-table-item">
<div class="state state-open">Open</div>
</div>
<div class="flex-table-item flex-table-item-primary"><a class="author" href="https://github.com/dustinco">dustinco</a> opened this <span class="noun">issue</span> on 22 Dec 2013 · 14 comments</div>
</div>
</div>
<div id="discussion_bucket" class="clearfix">
<div class="discussion-sidebar is-placeholder"></div>
<div class="discussion-sidebar js-sticky is-stuck">
<div id="partial-discussion-sidebar" class="js-socket-channel js-updatable-content" data-channel="tenant:1:issue:24686754" data-url="/osTicket/osTicket/issues/351/show_partial?partial=issues%2Fsidebar">
<div class="discussion-sidebar-item sidebar-labels js-discussion-sidebar-item">
<form class="js-issue-sidebar-form" accept-charset="UTF-8" action="https://github.com/osTicket/osTicket/issues/351?partial=issues%2Fsidebar%2Fshow%2Flabels" method="post" data-form-nonce="b1e0964e90c3456c3b987c5841429e3337ec8631" data-remote="true">
<div></div>
<h3 class="discussion-sidebar-heading">Labels</h3>
<div class="labels css-truncate">None yet</div>
</form>
</div>
<div class="discussion-sidebar-item sidebar-milestone js-discussion-sidebar-item">
<form class="js-issue-sidebar-form" accept-charset="UTF-8" action="https://github.com/osTicket/osTicket/issues/351/set_milestone?partial=issues%2Fsidebar%2Fshow%2Fmilestone" method="post" data-form-nonce="b1e0964e90c3456c3b987c5841429e3337ec8631" data-remote="true">
<div></div>
<h3 class="discussion-sidebar-heading">Milestone</h3>
<p>No milestone</p></form>
</div>
<div class="discussion-sidebar-item sidebar-assignee js-discussion-sidebar-item">
<form class="js-issue-sidebar-form" accept-charset="UTF-8" action="https://github.com/osTicket/osTicket/issues/351?partial=issues%2Fsidebar%2Fshow%2Fassignees" method="post" data-form-nonce="b1e0964e90c3456c3b987c5841429e3337ec8631" data-remote="true">
<div></div>
<h3 class="discussion-sidebar-heading">Assignees</h3>
<p><span class="css-truncate">No one assigned</span></form>
</div>
<div id="partial-users-participants" class="discussion-sidebar-item">
<div class="participation">
<h3 class="discussion-sidebar-heading">5 participants</h3>
<div class="participation-avatars"><a class="participant-avatar tooltipped tooltipped-n" href="https://github.com/dustinco"><img decoding="async" class="avatar" src="https://avatars3.githubusercontent.com/u/3682175?v=3&amp;s=52" alt="@dustinco" width="26" height="26" /></a><a class="participant-avatar tooltipped tooltipped-n" href="https://github.com/greezybacon"><img loading="lazy" decoding="async" class="avatar" src="https://avatars1.githubusercontent.com/u/672074?v=3&amp;s=52" alt="@greezybacon" width="26" height="26" /></a><a class="participant-avatar tooltipped tooltipped-n" href="https://github.com/clonemeagain"><img loading="lazy" decoding="async" class="avatar" src="https://avatars3.githubusercontent.com/u/5077391?v=3&amp;s=52" alt="@clonemeagain" width="26" height="26" /></a><a class="participant-avatar tooltipped tooltipped-n" href="https://github.com/protich"><img loading="lazy" decoding="async" class="avatar" src="https://avatars3.githubusercontent.com/u/31067?v=3&amp;s=52" alt="@protich" width="26" height="26" /></a><a class="participant-avatar tooltipped tooltipped-n" href="https://github.com/billwynne"><img loading="lazy" decoding="async" class="avatar" src="https://avatars3.githubusercontent.com/u/6412331?v=3&amp;s=52" alt="@billwynne" width="26" height="26" /></a></div>
</div>
</div>
</div>
</div>
<div class="discussion-timeline js-quote-selection-container ">
<div class="js-discussion js-socket-channel" data-channel="tenant:1:marked-as-read:issue:24686754">
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/dustinco"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/3682175?v=3&amp;s=96" alt="@dustinco" width="48" height="48" /></a></p>
<div id="issue-24686754" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="d41d8cd98f00b204e9800998ecf8427e"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/dustinco">dustinco</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issue-24686754">on 22 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p class="text-muted"><em>No description provided.</em></p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue:24686754" data-url="/osTicket/osTicket/reactions/issue/24686754"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/greezybacon"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars0.githubusercontent.com/u/672074?v=3&amp;s=96" alt="@greezybacon" width="48" height="48" /></a></p>
<div id="issuecomment-31098300" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="067328c8bb2d93be5e5858997a91374a"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<p><span class="timeline-comment-label">osTicket member</span></p>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/greezybacon">greezybacon</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-31098300">on 22 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body email-format js-comment-body">
<div class="email-fragment">Can you confirm the command line php version on your server is 5.3+? Von meinem iPhone gesendet</div>
<p><span class="email-hidden-toggle"><a href="https://github.com/osTicket/osTicket/issues/351#">…</a></span></div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:31098300" data-url="/osTicket/osTicket/reactions/issue-comment/31098300"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/dustinco"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/3682175?v=3&amp;s=96" alt="@dustinco" width="48" height="48" /></a></p>
<div id="issuecomment-31099152" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="0d69d86e6db15ebe8309ed6d1028c6cc"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/dustinco">dustinco</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-31099152">on 22 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>My php version is 5.3.27</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:31099152" data-url="/osTicket/osTicket/reactions/issue-comment/31099152"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/clonemeagain"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/5077391?v=3&amp;s=96" alt="@clonemeagain" width="48" height="48" /></a></p>
<div id="issuecomment-31099497" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="97892ffd923c312e8bbeea527bf27d11"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/clonemeagain">clonemeagain</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-31099497">on 22 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>Does cron see the same version? Because you will need 5.3+ for that code to run. (Uses anonymous closure syntax <a href="http://www.php.net/manual/en/functions.anonymous.php">http://www.php.net/manual/en/functions.anonymous.php</a>).</p>
<p>You will have to check that your php cli executable has a greater version than 5.3, this is different to the apache mod_php or fcgi module.. ie, open a terminal and enter the command:</p>
<pre><code>php -v
</code></pre>
<p>It should print out the version:</p>
<pre><code>PHP 5.4.9-4ubuntu2.4 (cli) (built: Dec 12 2013 04:29:20) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
</code></pre>
<p>Notice the (cli) in there.. Yours will probably not match mine exactly, but the first bit is the important bit: PHP 5.??</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:31099497" data-url="/osTicket/osTicket/reactions/issue-comment/31099497"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/dustinco"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/3682175?v=3&amp;s=96" alt="@dustinco" width="48" height="48" /></a></p>
<div id="issuecomment-31099672" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="fdf7b9ff2e683bba6c97eba3ed1d8c45"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/dustinco">dustinco</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-31099672">on 22 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>below is the terminal information</p>
<p>PHP 5.3.27 (cli) (built: Sep 5 2013 11:29:45)<br />
Copyright (c) 1997-2013 The PHP Group<br />
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies<br />
with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd.</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:31099672" data-url="/osTicket/osTicket/reactions/issue-comment/31099672"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/protich"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/31067?v=3&amp;s=96" alt="@protich" width="48" height="48" /></a></p>
<div id="issuecomment-31100186" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="36351c6f9a5d460e1789b1df2b004731"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<p><span class="timeline-comment-label">osTicket member</span></p>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/protich">protich</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-31100186">on 22 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p><a class="user-mention" href="https://github.com/dustinco">@dustinco</a> &#8211; Do <code>which php</code> and make sure the resulting executable is the same as what is on crontab entry.</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:31100186" data-url="/osTicket/osTicket/reactions/issue-comment/31100186"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/dustinco"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/3682175?v=3&amp;s=96" alt="@dustinco" width="48" height="48" /></a></p>
<div id="issuecomment-31101121" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="e54d1ab6245083bc00e71073662e4226"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/dustinco">dustinco</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-31101121">on 22 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>do you mean.. type in which php via terminal and verify the php location?</p>
<p>/usr/local/bin/php</p>
<p>if so than it is what im using.</p>
<p>if not please explain a little more.. Im new at this but know a few things.</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:31101121" data-url="/osTicket/osTicket/reactions/issue-comment/31101121"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/clonemeagain"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/5077391?v=3&amp;s=96" alt="@clonemeagain" width="48" height="48" /></a></p>
<div id="issuecomment-31102858" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="e1beed40b0a0e8de89e26c3fc186e693"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/clonemeagain">clonemeagain</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-31102858">on 23 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>This is my crontab entry:</p>
<pre><code>*/5 8-18 * * 1-5 nobody /usr/bin/nice -n 19 /usr/bin/php /var/www/support/api/cron.php
</code></pre>
<p>So, yours should be similar, but using /usr/local/bin/php right?</p>
<p>Is there any chance you could upgrade php?</p>
<p>Or, perhaps it is just that function definition, this might fix it:</p>
<div class="highlight highlight-text-html-php">
<pre><span class="pl-s1">        <span class="pl-c">// Don't enforce form validation for email</span></span>
<span class="pl-s1">        <span class="pl-c">// old style code for &lt;5.3</span></span>
<span class="pl-s1">        <span class="pl-c">// Ultimately, only offer validation errors for web for</span></span>
<span class="pl-s1">        <span class="pl-c">// non-internal fields. For email, no validation can be</span></span>
<span class="pl-s1">        <span class="pl-c">// performed. For other origins, validate as usual</span></span>
<span class="pl-s1">         <span class="pl-smi">$field_filter</span> <span class="pl-k">=</span> <span class="pl-c1">create_function</span>(<span class="pl-smi">$f</span>,<span class="pl-s"><span class="pl-pds">"</span>   </span></span>
<span class="pl-s1"><span class="pl-s">                switch (strtolower(<span class="pl-smi">$origin</span>)) {</span></span>
<span class="pl-s1"><span class="pl-s">                    case 'email':</span></span>
<span class="pl-s1"><span class="pl-s">                        return false;</span></span>
<span class="pl-s1"><span class="pl-s">                    case 'web':</span></span>
<span class="pl-s1"><span class="pl-s">                        return !<span class="pl-smi">$f</span><span class="pl-k">-&gt;</span><span class="pl-smi">get</span>('private');</span></span>
<span class="pl-s1"><span class="pl-s">                    default:</span></span>
<span class="pl-s1"><span class="pl-s">                        return true;</span></span>
<span class="pl-s1"><span class="pl-s">                    }</span></span>
<span class="pl-s1"><span class="pl-s">        <span class="pl-pds">"</span></span>);</span></pre>
</div>
<p>Unsure though if the vars will be in scope or not.. haven&#8217;t tested, can you?</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:31102858" data-url="/osTicket/osTicket/reactions/issue-comment/31102858"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/dustinco"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/3682175?v=3&amp;s=96" alt="@dustinco" width="48" height="48" /></a></p>
<div id="issuecomment-31207772" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="6cad52cc49c8470dfc59d2e272e94be4"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/dustinco">dustinco</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-31207772">on 25 Dec 2013</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>upgrade to 5.4.17? I will do that now and I will report back.<br />
my crontab is</p>
<p>*/5 * * * * /usr/local/bin/php /home/thedust2/public_html/help/api/cron.php</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:31207772" data-url="/osTicket/osTicket/reactions/issue-comment/31207772"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/billwynne"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/6412331?v=3&amp;s=96" alt="@billwynne" width="48" height="48" /></a></p>
<div id="issuecomment-32393043" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="fdc71692b3f5ffee13d574c1734bd130"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/billwynne">billwynne</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-32393043">on 15 Jan 2014</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p><a class="user-mention" href="https://github.com/dustinco">@dustinco</a> &#8211; From the looks of that path you are on Hostgator? I am struggling to get osticket 1.8 working right now.</p>
<p>Here is the error being emailed to my</p>
<p><b>Parse error</b>: syntax error, unexpected T_FUNCTION in<b>/home3/btwynne/public_html/leadcapturepagebosshelp.com/include/class.ticket.php</b> on line <b>1923</b></p>
<p>Help is much appreciated.</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:32393043" data-url="/osTicket/osTicket/reactions/issue-comment/32393043"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/dustinco"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/3682175?v=3&amp;s=96" alt="@dustinco" width="48" height="48" /></a></p>
<div id="issuecomment-32399369" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="c8b900fa1ae78fdccc242599f36899cc"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/dustinco">dustinco</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-32399369">on 15 Jan 2014</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body email-format js-comment-body">
<div class="email-fragment">I use to be with hostgator (had issues with their service) and canceled back in November and went with arvixe with no problems other than osticket</div>
<p><span class="email-hidden-toggle"><a href="https://github.com/osTicket/osTicket/issues/351#">…</a></span></div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:32399369" data-url="/osTicket/osTicket/reactions/issue-comment/32399369"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/billwynne"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/6412331?v=3&amp;s=96" alt="@billwynne" width="48" height="48" /></a></p>
<div id="issuecomment-32399620" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="1aa54fccc65d8dff2e793f222acc6aea"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/billwynne">billwynne</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-32399620">on 15 Jan 2014</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>ok, did you sort this issue out?</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:32399620" data-url="/osTicket/osTicket/reactions/issue-comment/32399620"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/dustinco"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/3682175?v=3&amp;s=96" alt="@dustinco" width="48" height="48" /></a></p>
<div id="issuecomment-32406635" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="7e43cde6a33c6a44f9eb7ab7fc6f6847"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/dustinco">dustinco</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-32406635">on 15 Jan 2014</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body email-format js-comment-body">
<div class="email-fragment">I haven&#8217;t dug back into it yet but still have the issue</div>
<p><span class="email-hidden-toggle"><a href="https://github.com/osTicket/osTicket/issues/351#">…</a></span></div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:32406635" data-url="/osTicket/osTicket/reactions/issue-comment/32406635"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/billwynne"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/6412331?v=3&amp;s=96" alt="@billwynne" width="48" height="48" /></a></p>
<div id="issuecomment-32407284" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="f3b6b14c7838b461c3b53ce9dec78bcd"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/billwynne">billwynne</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-32407284">on 15 Jan 2014</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>ok, thanks.</p>
</div>
</div>
<div class="js-socket-channel js-updatable-content comment-reactions  js-reactions-container" data-channel="tenant:1:reaction:issue-comment:32407284" data-url="/osTicket/osTicket/reactions/issue-comment/32407284"></div>
</div>
</div>
<div class="timeline-comment-wrapper js-comment-container"><a href="https://github.com/billwynne"><img loading="lazy" decoding="async" class="timeline-comment-avatar" src="https://avatars2.githubusercontent.com/u/6412331?v=3&amp;s=96" alt="@billwynne" width="48" height="48" /></a></p>
<div id="issuecomment-32432526" class="comment previewable-edit timeline-comment js-comment js-task-list-container

                      " data-body-version="ef1c414444747ef5b84135867d226019"></p>
<div class="timeline-comment-header ">
<div class="timeline-comment-actions"></div>
<div class="timeline-comment-header-text"><strong><a class="author" href="https://github.com/billwynne">billwynne</a> </strong>commented <a class="timestamp" href="https://github.com/osTicket/osTicket/issues/351#issuecomment-32432526">on 15 Jan 2014</a></div>
</div>
<div class="edit-comment-hide">
<div class="comment-body markdown-body markdown-format js-comment-body">
<p>Here was my fix using Hostgator and getting the same error. The problem was the PHP on the cron was not the same as the PHP on the server. Here is the solution in my case:</p>
<p>For those of you that use Hostgator and are trying to use osticket 1.8 here is the scoop, well two scoops.</p>
<ol>
<li>In your htaccess file in your root you need to add the following code and not everyone is on home3 so look on the left hand side of your cpanel main page.</li>
</ol>
<p>Attaching an image of the code since it is not allowing the code here.</p>
<p><a href="https://camo.githubusercontent.com/2fa044056f34d86031b7a174d692b15827fd909d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f363431323333312f313932363731352f66323939393439322d376534382d313165332d396230302d3038346163363830383863642e706e67" target="_blank"><img decoding="async" src="https://camo.githubusercontent.com/2fa044056f34d86031b7a174d692b15827fd909d/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f363431323333312f313932363731352f66323939393439322d376534382d313165332d396230302d3038346163363830383863642e706e67" alt="screen shot 2014-01-15 at 7 55 30 pm" data-canonical-src="https://f.cloud.github.com/assets/6412331/1926715/f2999492-7e48-11e3-9b00-084ac68088cd.png" /></a></p>
<ol>
<li>Setup this for a cron job:</li>
</ol>
<p>*/5 * * * *</p>
<p>/opt/php53/bin/php /home3/username/public_html/leadcapturepagebosshelp.com/api/cron.php</p>
<p>In this case leadcapturepagebosshelp.com is an add-on domain. If you just have one primary domain there would be nothing to place here, unless you were installing osticket on a subdomain.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://maicobuss.com.br/set-up-cron-job-for-osticket/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
