web hosting line
1.866.605.2484

Web hosting

Go Back   Web Hosting Forum - Web hosting discussion at SiteGround.com > Popular Software > Other Software and Applications

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2006, 05:51 PM
klemons klemons is offline
Junior Member
 
Join Date: Apr 2006
Posts: 5
Default Drupal Cron jobs

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
Reply With Quote
  #2  
Old 04-11-2006, 09:08 PM
klemons klemons is offline
Junior Member
 
Join Date: Apr 2006
Posts: 5
Default drupal forum suggestion

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
Reply With Quote
  #3  
Old 04-14-2006, 02:55 AM
sgforumadmin sgforumadmin is offline
SiteGround Team Member
 
Join Date: Apr 2005
Posts: 194
Default

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
__________________
Mike
Forum Administrator
Web Hosting
Reply With Quote
  #4  
Old 05-12-2009, 10:38 AM
Hristo.P's Avatar
Hristo.P Hristo.P is offline
SiteGround Team Member
 
Join Date: Apr 2008
Location: At home
Posts: 350
Default

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.
__________________
SiteGround Technical Support Team

Join us on Facebook
Follow us on Twitter
Web Hosting Suitable for You
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:29 PM.

Copyright © SiteGround.com Inc