Cron Job and SMTP Errors

Cron Job and SMTP Errors

by Greg DiFiore -
Number of replies: 3
I am trying to run the con.php file to start the automatic backups. However, when I run it, it takes a very long time. The problem is when the cron job executes it is trying to send emails to all of our students from the Journal Activity. The Error displayed is:

Processing journal entry 570
ERROR: SMTP Error: The following recipients failed: user@domain.org
Error: Journal cron: Could not send out mail for id 570 to user 1782 (user@domain.org)

The reason for this error is our students do not have email accounts so fake email accounts were entered for the students. Is there a way to remove this step from the cron job so that it does not attempt to email the students during the Journal cron?
Average of ratings: -
In reply to Greg DiFiore

Re: Cron Job and SMTP Errors

by Greg DiFiore -
Another issue i noticed with the cron job, is when I run it, I get through to this:

Finished activity modules
Starting blocks
Processing cron function for rss_client....
0 feeds refreshed (took 0.018658 seconds)
done.
Processing cron function for search....
--DELETE----

But then it says:

You need to be an admin user to use this page.

I am using the ?password= and it is still giving me an error.
In reply to Greg DiFiore

Re: Cron Job and SMTP Errors

by Jason Cashel -
Hi Greg,
You could just set the email account as disabled in the users profiles.

Jason
In reply to Jason Cashel

Re: Cron Job and SMTP Errors

by Greg DiFiore -
OK, I can disable them to stop those errors. Does anyone have ideas why the cron.php file will not run all the way through. It fails at the must be an admin page.