mediatribe.net -- Websites, Web Development, Custom Solutions, Bilingual Sites, Drupal Specialist

BLOG

CREATE YOUR OWN WEBSITE ONLINE

Watch the video (4 min.)

Blogs,
videos, photo galleries, advanced content categorization, off-site
backups, form creation, e-commerce, domain names, multilingual
websites, copyright-free images. We have integrated the latest
open-source systems with several existing services into an easy-to-use,
easy-to-understand, affordable package.

You no longer need a team of geeks at your disposal for your website to shine.

[learn more]

Reply to comment

Setting up Cron with Drupal 6 and cPanel

If you have a drupal site on a cPanel account, you can set up cron in cPanel. Here is how:

(1) Your site is, say, example.com
(2) Log into cPanel (example.com/cpanel)
(3) Go to cron jobs > standard
(4) Enter the following code in your cron:

/usr/bin/lynx -source http://example.com/cron.php

(replace example.com with your actual website)

I normally choose every hour, every day, every weekday, every month, and choose the minute corresponding to the current time. For example, if it is 8:23 a.m., I choose 23. This is because I have lots of sites on my server, and I don't want all crons to be called at the same time.

Power users can bypass the cPanel user interface and modify the cron directly with the following command in shell, substituting your cPanel username for "username":

$ crontab -e -u username

In the ensuing window, type in the following:

12 * * * * /usr/bin/lynx -source http://example.com/cron.php
31
* * * * /usr/bin/lynx -source http://example2.com/cron.php
59
* * * * /usr/bin/lynx -source http://example3.com/cron.php

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Image CAPTCHA
Enter the characters shown in the image.

Portfolio

WHAT OUR CLIENTS ARE SAYING...

It's marvelous to be able to post content on the site and especially to be able to make many updates. It's all really a pleasure for me; I believe it's because the website is well thought-out... Thanks again for your advice. (Pascale Bironneau, atelierdecarole.com)

THAT's what I wanted... I did not even know... very happy and impressed up to now. WOW. (Élise Gravel, illustratrice. elisegravel.com)

After the tests, it is working and it's exactly the configuration that I wanted. (Marie-Louise, productionsqualia.com)

I even did more than you recommended. Soon I will become an important computer scientist. (Kouassi Bohui Melaire, reforestation.net)

You really are pros! (M.-H. Verville, monhebdo.ca)