Why am I receiving this email, from your app:
Sent: Friday, January 13, 2017 12:00 AM
Subject: Cron <12@21> /usr/local/bin/php /home/123/public_html/cli/autotweetstartcronjob.php
AutoTweetNG Cron Job
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>
<title>500 Internal Server Error</title>
padding: 8px 35px 8px 14px;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
<div class="alert">Failed to load 'rt_requiem' template: Please install Gantry 5 Framework!</div>
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.