Virtual Learning Platforms Thread, Cron (Moodle/ Corn.php) on Ubuntu 8.04lts in Technical; Hi All
I am trying to setup moodle/admin/cron.php on ubuntu 8.04lts. (schedule tasks) I have set it up to run ...
-
18th September 2009, 12:40 PM #1
- Rep Power
- 0
Cron (Moodle/ Corn.php) on Ubuntu 8.04lts
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
-
-
IDG Tech News
-
18th September 2009, 01:12 PM #2 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:
Code:
*/5 * * * * wget -q -O /dev/null http://www.mymoodle.com/admin/cron.php
What does yours look like?
-
-
18th September 2009, 01:43 PM #3
- Rep Power
- 0

Originally Posted by
kmount
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:
Code:
*/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.
-
-
18th September 2009, 01:52 PM #4 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.
-
-
18th September 2009, 02:23 PM #5
- Rep Power
- 0

Originally Posted by
kmount
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
-
-
18th September 2009, 03:40 PM #6 Pop in whatever you're using for your cron less the time indicators (the */5 and *'s)
In my case:
wget -q -O /dev/null my moodle login demo database at mymoodle.com
-
-
18th September 2009, 03:40 PM #7
- Rep Power
- 0
ho well sorted,
I have enable cron job via command line i have to diable it ( leave default).
Cheers :0)
-
-
18th September 2009, 03:41 PM #8
-
SHARE:
Similar Threads
-
Replies: 6
Last Post: 12th January 2009, 02:38 PM
-
By powdarrmonkey in forum *nix
Replies: 8
Last Post: 26th August 2008, 09:44 PM
-
By ICTNUT in forum Virtual Learning Platforms
Replies: 42
Last Post: 10th October 2007, 12:49 PM
-
By TechMonkey in forum *nix
Replies: 12
Last Post: 23rd September 2006, 06:58 PM
-
By pcprofessor in forum *nix
Replies: 6
Last Post: 23rd February 2006, 10:07 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules