[drupal-support] Using Crontab For Aggregator
puregin
puregin at puregin.org
Thu Jul 7 05:56:49 UTC 2005
Hi Rob,
I understand (more of) your situation now. On my systems, I use
something
similar to the following line as a crontab entry
0,15,30,45 * * * * wget -q
http://www.example.com/cron.php
This says to run the 'wget' command to fetch the indicated web page.
The -q
flag tells wget to discard any output ('quiet mode'). The command is
executed at the top of the hour and periodically at 15 minute intervals,
every hour, every day.
Theoretically, this should also alert you by e-mail if your site is down
for some reason (though if the cron daemon is running on the same
machine
as the web server, it may also be out of action)
Djun
On 6 Jul 2005, at 10:04 PM, Rob wrote:
> The hosting server uses CPanel with a feature called Standard Cron
> Manager. It asks for:
>
> Command to run:
>
> It then asks for hourly, daily, etc. on the job to be done. I am able
> to
> manually refresh the news
> feeds on aggregator but it will not do them automatically. I have tried
> using various command lines
> such as 00 * * * * but none have worked. I get error messages by
> email from
> the server saying "No such file or directory". I am trying to figure
> out
> what to put in the command line box that will access the right area to
> automatically update the aggregator.
>
> Rob
>
>
> ----- Original Message -----
> From: "puregin" <puregin at puregin.org>
> To: <drupal-support at drupal.org>; "Rob" <rob at rwneill.com>
> Sent: Wednesday, July 06, 2005 4:07 PM
> Subject: Re: [drupal-support] Using Crontab For Aggregator
>
>
>>
>> On 6 Jul 2005, at 12:15 PM, Rob wrote:
>>
>>> I have been trying to get Crontab to work on my site
>>> http://cmlhope.com
>>> but
>>> none of the commands
>>> listed in the help section have worked. I am trying to set it to
>>> refresh
>>> external news feeds X number
>>> of times a day.
>>
>> You need to provide more details. Is cron.php being run? (check
>> your
>> logs)
>> If so, your problem is not with cron.
>>
>> Are there error messages in your Drupal logs or in system log files?
>> Are
>> you
>> able to get the news feeds manually?
>>
>>>
>>> Could someone suggest what command would work best on this?
>>>
>>> Rob
>>
>>
>> Djun
>>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
--
Djun M. Kim, Director
djun.kim at cielosystems.com
Cielo Systems Inc.
http://www.cielosystems.com
Strategic Software Research Tel: (604) 739-3941
302 - 1298 10th Avenue West FAX: (604) 739-3943
Vancouver, BC, V6H 1J4 Mobile:(778) 895-1379
More information about the drupal-support
mailing list