(Run Email Reminder Notifications) failed in CRON run

I get this error (Run Email Reminder Notifications) failed in CRON run .

I’ve tried everything from various posts - email test works, file permissions are ok, email config is perfect, rebuilt schedulers etc. All other schedulers are working.

This specific post on stackoverflow has me thinking:

"The reminder task is very brittle, you must make sure you never delete users (I think this is what is causing it in your case)

make sure that there are no reminders due for any users that don’t exist (can be checked in the database). there may be some other instances where the task breaks, but this is a good starting point"

Now I do make test users on the site and delete them when required. I have SuiteCRM 8.3, could this be the reason why reminder email cron fails? If so, can someone point me to how reminders due to users could be deleted from the database, without effecting anything else. I can see the reminders table in the database, but I don’t want to empty that out without being sure.

If you encounter a “Run Email Reminder Notifications failed in CRON run” error, it suggests that there’s an issue with the execution of the CRON job responsible for running email reminder notifications. Here’s a step-by-step guide to troubleshoot and resolve this issue:

  1. Check CRON Configuration:
    *Ensure that the CRON configuration is correctly set up. Verify the timing and frequency of the CRON job to ensure it aligns with your intended schedule for running email reminder notifications.

  2. Review CRON Logs:
    Examine the CRON logs for any error messages or warnings related to the “Run Email Reminder Notifications” task. These logs can provide insights into what might be causing the failure.

  3. Permission Issues:
    Verify that the user executing the CRON job has the necessary permissions to run the email reminder notifications script. Ensure that file and directory permissions are set correctly.

  4. Script Debugging:
    If possible, enable debugging for the email reminder notifications script. This can help identify specific issues within the script or any data-related problems.

  5. Database Connectivity:
    Confirm that the script can successfully connect to the database. Check the database credentials and ensure that the script has the required permissions to access the necessary tables.

  6. Check Dependencies:
    Ensure that all dependencies for the email reminder notifications script are met. This includes any external libraries, modules, or services that the script relies on.

  7. Test Script Manually:
    Execute the email reminder notifications script manually from the command line or through a web interface. This can help identify if the issue is specific to the CRON execution environment.

  8. Server Resource Availability:
    Check if there are sufficient server resources (CPU, memory, etc.) available during the CRON run. Resource constraints can lead to script failures.

  9. Update CRON Job Path:
    Double-check that the CRON job is pointing to the correct path for the script. Ensure that there are no typos or discrepancies in the file paths.

  10. Review Recent Changes:
    If the issue started after recent changes, review any updates, modifications, or additions made to the email reminder notifications script or related components.

  11. Consult Documentation or Support:
    Refer to the documentation for the email reminder notifications script or the system where it’s implemented. If the issue persists, consider seeking support from the script’s developers or community forums.

By systematically addressing these potential issues, you should be able to identify and resolve the “Run Email Reminder Notifications failed in CRON run” error.

Hi, @SofiaMark

please don’t bother posting ChatGPT replies. If people want to use ChatGPT, they can go there themselves.

ChatGPT answers regarding SuiteCRM always appear very knowledgeable and intelligent, but in fact they excessively generic and almost completely useless.

And it’s also not a good idea, using ChatGPT and not saying so. At least warn people, that way they can decide whether to trust it or not.