Cron returning error “file not found”

About Support Bulk email Cron returning error “file not found”

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2616
    Avatar for JaneenJaneen
    Member

    Hi
    I’m trying to set up the cron job to send emails, but when I put in the url address from the pdf churchadmin generates, I get a “file not found” message.
    The PDF shows the entry on two lines

    /usr/local/bin/php -f
    /nfs/c08/h03/mnt/126983/domains/uubgky.org/html/wp-content/plugins/church-admin/includes/cronemail.php

    Can I put both strings on one line? Does the spacing matter?

    It’s a great plugin, and I’d love to be able to use it all.

    #3470
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    It should all be on one line, with a space between the first section, the -f and then the path.

    We switched to mailchimp.com for sending emails out – free for smallish list. The reason was that we were on a shared server at our hosting company and because other users were spammers, our emails were also getting blocked….

    #3471
    Avatar for JaneenJaneen
    Member

    Hmmm…
    I’ve got
    /usr/local/bin/php -f /nfs/c08/h03/mnt/126983/domains/uubgky.org/html/wp-content/plugins/church-admin/includes/cronemail.php

    all on one line with the space before and after the -f and no spaces before the /usr or after the .php, and I’m still getting a file not found.

    Not a clue why it’s not working.

    I’ll look into mailchimp; thanks for the tip.

    #3479
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Try

    /usr/local/bin/php -f /nfs/c08/h03/mnt/126983/domains/uubgky.org/wp-content/plugins/church-admin/includes/cronemail.php

    as I think the html is superfluous unless you have a strange setup!

    #3482
    Avatar for JaneenJaneen
    Member

    (I inherited this site, and I’m still trying to make sense of it.) Whoever installed WordPress did so inside a folder named html. There is indeed a path
    [ Home / domains / uubgky.org / html / wp-content / plugins / church-admin / includes / cronemail.php ] . The .htaccess file is in folder [Home /domains/uubgky.org/html/ ] and it reads:

    AddHandler php5-script .php

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    anything in there that might be confusing things?

    #3484
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    No, there’s nothing wrong with the htaccess file.

    Try…
    /usr/local/bin/php -f /home/domains/uubgky.org/html/wp-content/plugins/church-admin/includes/cronemail.php

    As it might be all that weirdness you had before the domain name that was causing the error. If not contact the hosting provider and see what they say!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.