CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Server cron needed?
Pages: [1]

Author Topic: Server cron needed?  (Read 896 times)

Louren

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: not yet installed
  • CMS version: Joomla
  • MySQL version: idk
  • PHP version: 5.x
Server cron needed?
December 05, 2011, 01:52:24 pm
Hi everyone,

One of my clients is considering to use CiviCRM for his website. I haven't used it before, so I have no experience with it at all. Cron jobs are listed in the requirements (so it must be necessary I suppose), but what about server cron? Our host allows no server cron, just 'web cron', wich means that I can't run local files, only files accessible from the web. Is this compatible? And what cron jobs does Civicrm actually use?

Searched this forum for it, but couldn't find anything.

Thanks for your reply!


Kind regards,

Louren van Garderen

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Server cron needed?
December 05, 2011, 02:44:39 pm
Check out our book for more information, but they are several crons you might want to run based on what you do (civimail, civimember...)

http://en.flossmanuals.net/CiviCRM/

Two warnings:
- In my experience, hosts that limit cron tend to limit other things as well (eg. how many emails per hour, cpu load, memory...). As a rule of thumb, if you have a cheap host provider, you'll have a crappy service and a lot of service on the top to make it kind of work

- running the cron over the web works, but is way less performant than running them using php-cli.

With that being said, it will work if you got small mailings for instance, but don't expect send 10'000th of emails on this configuration

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Server cron needed?
December 07, 2011, 09:20:22 am
In addition to what xavier, said. I will add:

> Is this compatible?

Yes, all CiviCRM cron jobs can be run via a URL.

> And what cron jobs does Civicrm actually use?

There are several and all are technically optional. CiviMail needs one (or two) http://wiki.civicrm.org/confluence/display/CRMDOC40/CiviMail+Installation but only if you want to use that. Updating memberships uses one, if you need that.

In short, the basic functions work without any cron and the crons that you may want can be run via URLs.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Server cron needed?
December 07, 2011, 10:17:49 am
Quote from: Hershel on December 07, 2011, 09:20:22 am
There are several and all are technically optional. CiviMail needs one (or two)


The second one (to process bounces) isn't needed to send the emails, but if you send emails and never handle the bounces you will be blacklisted as a spammer (rightly so IMO). So for civiMail, count the two as needed ;)

Sidenote: On the 4.1 version, you don't need to provide the password for the user when using the cli mode

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Server cron needed?

This forum was archived on 2017-11-26.