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) »
  • CiviMail cronjob returns 404 error
Pages: [1]

Author Topic: CiviMail cronjob returns 404 error  (Read 886 times)

Mikel

  • Guest
CiviMail cronjob returns 404 error
September 28, 2010, 12:04:36 pm
I am getting this back from the CiviMail cron job when running it on my GoDaddy host:

Quote
Status: 404 Not Found
Content-type: text/html

No input file specified.

My command to call the job is
 /web/cgi-bin/php5 "$HOME/html/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=adminuser&pass=password&key=sitekey"

Does anyone know what I may be doing wrong?


FrTommy

  • I post frequently
  • ***
  • Posts: 273
  • Karma: 2
  • CiviCRM version: 4.5.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.5.32
  • PHP version: 5.3
Re: CiviMail cronjob returns 404 error
September 28, 2010, 12:34:30 pm
Try:

Code: [Select]
curl --silent --compressed 'http://domain.org/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=<username>&pass=<password&key=<keyno>'

Mikel

  • Guest
Re: CiviMail cronjob returns 404 error
September 28, 2010, 01:26:45 pm
That doesn't seem to work with godaddy's cron manager. I tried resetting my site key to one with no punctuation (though I excluded the unsafe URL characters the first time), and that made no difference either.

Any other ideas? What is the file that is missing? I know the civimail.cronjob.php file is there, and has the correct permissions.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: CiviMail cronjob returns 404 error
September 28, 2010, 02:06:40 pm
Hi,

Not sure about your command, it looks like you are trying to run the cron using php cli but with the parameter syntax of when you run it from the web.

For the cli, you have to cd into your civicrm root folder and the parameter syntax is a bit different


You should read this chapter for more details

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

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 »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • CiviMail cronjob returns 404 error

This forum was archived on 2017-11-26.