Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crontab question



Tim Scott said:

>I am running moodle on a panther server and have not been able to get 
>the recommended crontab to work:
>
>
>*/5 * * * * wget -q -O /dev/null _
http://example.com/moodle/admin/cron.php _
>
>
>I am creating the crontab as the root user using 'crontab -e'
>
>
>I have recently moved moodle from a redhat linux box and all has 
>worked perfectly but not the contab!


Hi Tim

In crontabs, it is always advisable to specify the full path to any
executables. ie:

   */5 * * * * /path/to/wget -q -O /dev/null
http://example.com/moodle/admin/cron.php

However note that Mac OS X no longer ships with wget. You could either
install wget, or use /usr/bin/curl instead.

Hope this helps
James

-- 
James Tolchard
ICT Services
Christ's College Canterbury
DDI: +64-3-364-6806

"Never attribute to malice that which can be adequately explained by
stupidity." - Hanlon's Razor
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.