Jump to content

Recommended Posts

Posted

Hi All

I am trying to setup moodle/admin/cron.php on ubuntu 8.04lts. (schedule tasks) I have set it up to run every 5 mins and checked forum it seems like it not working properly ( does n't sends emails ).

 

Can anybody tell me how to set it up on schedule tasks to run cron automatically.

 

Any help/suggestions would be appreciated.

 

Thanks

Posted

Check your access logs to see if it is working but isn't sending you a mail (for whatever reason).

 

My crontab looks as follows:

 

*/5 * * * * wget -q -O /dev/null http://www.mymoodle.com/admin/cron.php

 

What does yours look like?

Posted
Check your access logs to see if it is working but isn't sending you a mail (for whatever reason).

 

My crontab looks as follows:

 

*/5 * * * * wget -q -O /dev/null http://www.mymoodle.com/admin/cron.php

 

What does yours look like?

 

Well mine aslo looks same as it is.

Posted

Worth checking your logs then fella, by default in /var/log/apache2/ to see if its hitting it.

 

If not, run the command manually from the shell and check if the log shows it hitting and we can look at why/if Cron is playing up.

Posted
Worth checking your logs then fella, by default in /var/log/apache2/ to see if its hitting it.

 

If not, run the command manually from the shell and check if the log shows it hitting and we can look at why/if Cron is playing up.

 

I cant see any hits in access.log or error.log

 

How do i check from shell window?

 

Cheers

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...