Steve, I followed your and Bill's advise, and my cron job has been running "beautifully" for the past 3 days. I changed the cron tab settings to
0 * * * * php /home/user_name/public_html/moodle_directory/admin/cron.php
(which means run every year, every month, every day, every hour) and each time the job was successfully executed, I get a report (which used to be an error message in the beginning, when the cron job failed).
For anybody who is a novice (like me) and would find it helpful to see what such an email report might look like, here it is:
Content-type: text/html
X-Powered-By: PHP/4.3.9
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
<pre>
Server Time: Sun, 26 Dec 2004 00:00:01 -0600
Starting activity modules
Processing module function assignment_cron ...done.
Processing module function chat_cron ...done.
Processing module function forum_cron ...done.
Processing module function journal_cron ...done.
Processing module function workshop_cron ...done.
Finished activity modules
Running backups if required...
Checking backup status...OK
Getting admin info
Deleting old data
Checking courses
Skipping deleted courses
0 courses
Medical Assistant Basic Reviews & Tutorials
Next execution: Wednesday, 29 December 2004, 05:00 AM
Basics of Medical Language and Terminology 101
Next execution: Wednesday, 29 December 2004, 05:00 AM
Basics of Human Anatomy (A&P) 101
Next execution: Wednesday, 29 December 2004, 05:00 AM
Fundamental Skills Review 101
Next execution: Wednesday, 29 December 2004, 05:00 AM
Clinical Skills Review 101
Next execution: Wednesday, 29 December 2004, 05:00 AM
Practical Pharmacology Review 101
Next execution: Wednesday, 29 December 2004, 05:00 AM
Deleting old logs
Backup tasks finished.
Cron script completed correctly
Execution took 0.233508 seconds
Monika