- Closed Tasks
- Details
----------
WAS:
Cron logging of last-run time
We should have a table that tracks when cron jobs last ran. This can be used as part of the debug to show if a cron script is running OK. This would be separate to any normal logging.
| Milestone: |
No milestone set
|
|---|---|
| Assigned To: |
Marcus
|
| Created Date: | 2025-01-09 10:37:38 |
| Closed Date: | 2025-02-04 09:25:15 |
| Discussion Link: |
Comments 2
This has already been added as app_logs
logs table is the audit logs
auth_logs are for authentication
Table: app_logs
Sample Data
Function:
function logApp($category, $type, $details) {global $mysqli;mysqli_query($mysqli, "INSERT INTO app_logs SET app_log_category = '$category', app_log_type = '$type', app_log_details = '$details'");}Fab, done.