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 »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Setting up cronjob on server needs quotes
Pages: [1]

Author Topic: Setting up cronjob on server needs quotes  (Read 1372 times)

jt196

  • I post occasionally
  • **
  • Posts: 33
  • Karma: 3
Setting up cronjob on server needs quotes
November 16, 2007, 05:47:13 am
I thought I'd share the benefits of a morning's configuration of CiviMail with you all. I've just been setting up the civimail.cronjob.php on my host (Host Monster) and was having a few problems sending mails out using the cronjob until I did a google.

If you wish to execute the cronjob with a username and password as below:

wget http://yourdrupalroothere/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=usernamehere&pass=passwordhere

You may need to enclose the URL in quotes like below:

wget 'http://yourdrupalroothere/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=usernamehere&pass=passwordhere'

Apparently the fussy wget command doesn't like '&' and will need it contained within quotation marks. Not too sure about the 'curl' command, but wget is working and that is enough for me.

James.

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: Setting up cronjob on server needs quotes
December 21, 2007, 10:03:35 pm
The Quotes were the problem - I wish I'd paid more attention to your post when I first read it.   thanks - thanks - thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Setting up cronjob on server needs quotes

This forum was archived on 2017-11-26.