Looking for Customer Service & Support

IMPORTANT: This is a Community Forum. Answers are given by the community. If you are a Customer, please, Open New Issue to get access to the support service.

Customer Support is only provided through our ticketing system https://support.extly.com/. If you do not have a paid membership, please create a new topic in the community forum.

Problem Cron /usr/local/bin/php /home/11111111111111/public_html/cli/autotweetst

More
11 months 8 hours ago #10317 by ricco
ricco created the topic: Problem Cron /usr/local/bin/php /home/11111111111111/public_html/cli/autotweetst
Hi,

Why am I receiving this email, from your app:

Original Message
From: Cron Daemon [This email address is being protected from spambots. You need JavaScript enabled to view it.]
Sent: Friday, January 13, 2017 12:00 AM
To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Subject: Cron <12@21> /usr/local/bin/php /home/123/public_html/cli/autotweetstartcronjob.php

AutoTweetNG Cron Job
============================

Starting Process

Notice: Use of undefined constant JDEBUG - assumed 'JDEBUG' in /home/123/public_html/libraries/cms/error/page.php on line 110

Warning: Cannot modify header information - headers already sent by (output started at /home/123/public_html/libraries/cms/error/page.php:110) in /home/123/public_html/templates/rt_requiem/includes/gantry.php on line 48 <html>
<head>
<title>500 Internal Server Error</title>
<style>
.alert {
padding: 8px 35px 8px 14px;
margin-bottom: 18px;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
background-color: #F2DEDE;
border-color: #EED3D7;
color: #B94A48;
border-radius: 4px;
font-size: 1.2em;
}
</style>
</head>
<body>
<div class="alert">Failed to load 'rt_requiem' template: Please install Gantry 5 Framework!</div>
</body>
</html>

Why you are warning me about Gantry issues?

Please Log in or Create an account to join the conversation.

More
10 months 4 weeks ago #10318 by Support Team
Support Team replied the topic: Problem Cron /usr/local/bin/php /home/11111111111111/public_html/cli/autotweetst
Hi, Thanks for contacting us!

At this time, Joomla 3 does not have a native console or a CLI mode to run the CMS from the command line. By default, all features are created assuming a web content.

When you execute the CMS from the command line, the front end is the console, where you expect to receive simple texts (not HTML) as result of the call. For instance, a different renderer should be executed to generate this kind of output. This is one of the features that would be developed for a future Joomla X version.

Additionally, when you call the CMS from the command line, it has a lower footprint in memory and processing time in the execution of batch processes.

In practice, Joomla still can be executed from the command line. But, it depends on what extensions are installed. In your case, it seems that an extension is still trying to generate the output for a web context.

To solve these cases, we recommend executing the cron job task with the alternative commands: www.extly.com/docs/autotweetng_joocial/i...ased-on-wget-command
wget -O - -q -t 1 "https://www.yoursite.com/index.php?option=com_autotweet&view=cron&task=run&key=xxxxxxxx" >/dev/null 2>&1    

Please feel free to reach out to us should you require any further assistance.

PD: Customer Support is only provided through our ticketing system support.extly.com/ .
The following user(s) said Thank You: ricco

Please Log in or Create an account to join the conversation.

More
10 months 4 weeks ago #10319 by ricco
ricco replied the topic: Problem Cron /usr/local/bin/php /home/11111111111111/public_html/cli/autotweetst
OK, thanks.

We are using the Native CRON script, like:

/usr/local/bin/php /home/123/public_html/cli/autotweetstartcronjob.php

What would you recommend in this case?

Please Log in or Create an account to join the conversation.

More
10 months 4 weeks ago #10320 by Support Team
Support Team replied the topic: Problem Cron /usr/local/bin/php /home/11111111111111/public_html/cli/autotweetst
Hi,

You can execute a wget, curl or lynx command to achieve exactly the same results.

Please, check with your hosting provider (or documentation) what options they recommend.

Please Log in or Create an account to join the conversation.

Time to create page: 0.093 seconds
Join the Club!

Access and support services to all Extly's extensions for 1-Year. The Extly Club is your source for all of our extensions.

Join Now