PDA

View Full Version : Drupal Cron jobs


klemons
04-11-2006, 05:51 PM
Hi there,

i'm putting together a website for a non-profit i'm in and trying to get an RSS feed to update. The drupal site said that I needed cron to pull in the updates. So I uploaded the cron module and added it and set it to go off and It still isnt working.

Do I need to do anything with cron in the cpanal?

if i do need to do something in cpanel, what is the command field for? is that just a name for the job or is there really a command (that I have no clue of) that needs to go in there.

I couldnt find any examples anywhere on how to setup this up in the cpanel.

thanks
Kari

klemons
04-11-2006, 09:08 PM
ok it says i need crontab, so i searched for that on the drupal forum and found what looks to be something for the unix section of the cron job icon

suggestion 1

I have my crontab setup to do run the following command:

10****: /home/username/mysite.com/cron.php



suggestion 2

My crontab looks like this:
19 */8 * * * /usr/local/bin/php pathtomysite/cron.php
It executes every 8 hours (0:19, 8:19, 16:19).

umm which one is right for site ground??

Kari

sgforumadmin
04-14-2006, 02:55 AM
hm, it should be like:

19 */8 * * * /usr/local/bin/php /home/username/public_html/cron.php

where username = your username

:)

If you ask our tech guys though, they will do it for you in no time :)

Hristo.P
05-12-2009, 10:38 AM
I am afraid that the tools in the cPanel cannot be used via a Cron Job because most of them require user interaction.

If you want a specific task to be executed on schedule, you can always post a ticket in your Help Desk and we will do our best to automate it for you.