Removed the duplicate cron that was doing the same thing. Turned on DEBUG and debug messages coming out every minute but can’t tell if it is result of cron. The schedules still show last run never though.
$ tail -f /var/log/syslog
Apr 30 18:45:01 ubuntu CRON[14767]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Apr 30 18:45:01 ubuntu CRON[14768]: (www-data) CMD (www-data /usr/bin/php -c /etc/php/7.0/apache2/php.ini -f /var/www/su
$ tail -f suitecrm.log
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] current_language is: en_us
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCacheMemory
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Using cache backend SugarCacheMemory, since 999 is less than 1000
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCacheZend
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCacheRedis
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCachesMash
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCacheWincache
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCacheMemcache
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCacheMemcached
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCacheFile
Mon Apr 30 13:09:51 2018 [11990][-none-][DEBUG] Found cache backend SugarCacheAPC
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Found language file: en_us.lang.php
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Found custom language file: en_us.lang.php
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Query:SELECT id, name, symbol, conversion_rate FROM currencies WHERE status = ‘Active’ and deleted = 0
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Query Execution Time:0.00038385391235352
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Query:SELECT category, name, value FROM config
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Query Execution Time:0.00034809112548828
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Query:SELECT id FROM outbound_email WHERE type = ‘system’
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Query Execution Time:0.00019598007202148
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Query:SELECT * FROM outbound_email WHERE id = ‘68adf809-54af-42a7-a02d-5974d159fb15’
Mon Apr 30 13:09:51 2018 [11990][-none-][INFO] Query Execution Time:0.00025796890258789
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Hook called: ::after_entry_point
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Including module specific hook file for custom/modules
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Including Ext hook file for custom/application
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Hook called: ::after_session_start
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Unable to find SugarController:: get
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] We have an authenticated user id: 5f866ce7-1b02-0489-040b-5978c66ca7d6
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Hook called: Users::before_retrieve
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Including module specific hook file for custom/modules/Users
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Retrieve User : SELECT users.* FROM users WHERE users.id = ‘5f866ce7-1b02-0489-040b-5978c66ca7d6’ AND users.deleted=0
Mon Apr 30 13:09:52 2018 [11990][-none-][DEBUG] Limit Query:SELECT users.* FROM users WHERE users.id = ‘5f866ce7-1b02-0489-040b-5978c66ca7d6’ AND users.deleted=0 Start: 0 count: 1
Mon Apr 30 13:09:52 2018 [11990][-none-][INFO] Query:SELECT users.* FROM users WHERE users.id = ‘5f866ce7-1b02-0489-040b-5978c66ca7d6’ AND users.deleted=0 LIMIT 0,1
Mon Apr 30 13:09:52 2018 [11990][-none-][INFO] Query Execution Time:0.0005791187286377
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] get_user_array query: SELECT id, first_name, last_name, user_name FROM users WHERE 1=1 ORDER BY first_name, last_name ASC
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Query:SELECT id, first_name, last_name, user_name FROM users WHERE 1=1 ORDER BY first_name, last_name ASC
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Query Execution Time:0.0003349781036377
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Query:SELECT u1.first_name, u1.last_name from users u1, users u2 where u1.id = u2.reports_to_id AND u2.id = ‘5f866ce7-1b02-0489-040b-5978c66ca7d6’ and u1.deleted=0
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Query Execution Time:0.00023102760314941
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] SugarBean[User].load_relationships, Loading relationship (reports_to_link).
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Query:SELECT
ea.email_address,
ea.email_address_caps,
ea.invalid_email,
ea.opt_out,
ea.confirm_opt_in,
ea.date_created,
ea.date_modified,
ear.id,
ear.email_address_id,
ear.bean_id,
ear.bean_module,
ear.primary_address,
ear.reply_to_address,
ear.deleted
FROM email_addresses ea LEFT JOIN email_addr_bean_rel ear ON ea.id = ear.email_address_id
WHERE
ear.bean_module = ‘Users’
AND ear.bean_id = ‘5f866ce7-1b02-0489-040b-5978c66ca7d6’
AND ear.deleted = 0
ORDER BY ear.reply_to_address, ear.primary_address DESC
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Query Execution Time:0.0004429817199707
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] Hook called: Users::after_retrieve
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] FACTOR AUTH: -------------------------------------------------------------
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] FACTOR AUTH: --------------------- CHECK FACTOR AUtH ---------------------
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] FACTOR AUTH: -------------------------------------------------------------
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] FACTOR AUTH: User needs factor auth, request is not Logout
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] FACTOR AUTH: User does`nt need factor auth
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] Current user is: jamal
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] Current user is: jamal
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] setting cookie ck_login_id_20 to 5f866ce7-1b02-0489-040b-5978c66ca7d6
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] setting cookie ck_login_language_20 to en_us
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] current_language is: en_us
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Found language file: en_us.lang.php
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Found custom language file: en_us.lang.php
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] Performing action: action_get MODULE: Alerts
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] get_full_list: order_by = ‘alerts.date_entered’ and where = ‘alerts.assigned_user_id = ‘5f866ce7-1b02-0489-040b-5978c66ca7d6’ AND is_read != ‘1’’
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] SugarBean[Alert].load_relationships, Loading relationship (modified_user_link).
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] SugarBean[Alert].load_relationships, Loading relationship (created_by_link).
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] SugarBean[Alert].load_relationships, Loading relationship (assigned_user_link).
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] process_order_by: (alerts.date_entered) does not have a vardef entry.
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] process_full_list_query: query is SELECT alerts.* , jt0.user_name modified_by_name , jt0.created_by modified_by_name_owner , ‘Users’ modified_by_name_mod , jt1.user_name created_by_name , jt1.created_by created_by_name_owner , ‘Users’ created_by_name_mod , jt2.user_name assigned_user_name , jt2.created_by assigned_user_name_owner , ‘Users’ assigned_user_name_mod FROM alerts LEFT JOIN users jt0 ON alerts.modified_user_id=jt0.id AND jt0.deleted=0
AND jt0.deleted=0 LEFT JOIN users jt1 ON alerts.created_by=jt1.id AND jt1.deleted=0
AND jt1.deleted=0 LEFT JOIN users jt2 ON alerts.assigned_user_id=jt2.id AND jt2.deleted=0
AND jt2.deleted=0 where (alerts.assigned_user_id = ‘5f866ce7-1b02-0489-040b-5978c66ca7d6’ AND is_read != ‘1’) AND alerts.deleted=0
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Query: SELECT alerts.* , jt0.user_name modified_by_name , jt0.created_by modified_by_name_owner , ‘Users’ modified_by_name_mod , jt1.user_name created_by_name , jt1.created_by created_by_name_owner , ‘Users’ created_by_name_mod , jt2.user_name assigned_user_name , jt2.created_by assigned_user_name_owner , ‘Users’ assigned_user_name_mod FROM alerts LEFT JOIN users jt0 ON alerts.modified_user_id=jt0.id AND jt0.deleted=0
AND jt0.deleted=0 LEFT JOIN users jt1 ON alerts.created_by=jt1.id AND jt1.deleted=0
AND jt1.deleted=0 LEFT JOIN users jt2 ON alerts.assigned_user_id=jt2.id AND jt2.deleted=0
AND jt2.deleted=0 where (alerts.assigned_user_id = ‘5f866ce7-1b02-0489-040b-5978c66ca7d6’ AND is_read != ‘1’) AND alerts.deleted=0
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][INFO] Query Execution Time:0.00061392784118652
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] process_full_list_query: result is mysqli_result Object
(
[current_field] => 0
[field_count] => 22
[lengths] =>
[num_rows] => 0
[type] => 0
)
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] Hook called: ::server_round_trip
Mon Apr 30 13:09:52 2018 [11990][5f866ce7-1b02-0489-040b-5978c66ca7d6][DEBUG] Calling MySQLi::disconnect()