Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2016
    Location
    Merstham Surrey United Kingdom
    Posts
    102
    Plugin Contributions
    0

    Default Cron Jobs Help Need

    How do I do a Cron Job as that is all i am getting. This is what I put php /home1/littlfk0/public_html/dreamingofpspco/admin/includes/extra_datafiles/currencyupdate_openexchangerates.php and this is what the emai says. I run admin the following found below

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

    No input file specified.

    But would this work
    /usr/bin/GET http://www.dreamingofpsp.co.uk/admin...hangerates.php

    I want the cron job to run openexchangerates every half an hour.

    Any help would be appreciated

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Cron Jobs Help Need

    Quote Originally Posted by LittleAngell52 View Post

    Any help would be appreciated
    I'm not recognizing the filename "currencyupdate_openexchangerates.php" - or anything even vaguely similar to that. What version of Zencart, and where did you find this file?

    With a couple of different installs that I have, I'm finding

    /admin/currency_update.php
    and a
    /admin/currency_cron.php

    Nothing in the includes/extra_datafiles/ though along those lines though.

    According to comments in the currency_cron.php file, this file must reside in the renamed /admin/ folder else it won't work.

    According to the contents of the currency_update.php file you need to edit this and set the 'define' for the PATH_TO_STORE_ROOT . This file also resides in the renamed admin directory.

    It is unclear from you post as to whether the '404' (not found) error is because the xxxxxxxx.php file itself isn't being found, or whether it is this file that is reporting that another file couldn't be found.

    How and where are you entering these cron jobs. I'm assuming via cPanel, but I mave a pretty good track record or intentionally making wrong assumptions in order to elicit more information :).

    Would love to help more - but I'm sure that I have just demonstrated the importance of having more information.

    Cheers
    RodG

  3. #3
    Join Date
    Jan 2016
    Location
    Merstham Surrey United Kingdom
    Posts
    102
    Plugin Contributions
    0

    Default Re: Cron Jobs Help Need

    Quote Originally Posted by RodG View Post
    I'm not recognizing the filename "currencyupdate_openexchangerates.php" - or anything even vaguely similar to that. What version of Zencart, and where did you find this file?

    With a couple of different installs that I have, I'm finding

    /admin/currency_update.php
    and a
    /admin/currency_cron.php

    Nothing in the includes/extra_datafiles/ though along those lines though.

    According to comments in the currency_cron.php file, this file must reside in the renamed /admin/ folder else it won't work.

    According to the contents of the currency_update.php file you need to edit this and set the 'define' for the PATH_TO_STORE_ROOT . This file also resides in the renamed admin directory.

    It is unclear from you post as to whether the '404' (not found) error is because the xxxxxxxx.php file itself isn't being found, or whether it is this file that is reporting that another file couldn't be found.

    How and where are you entering these cron jobs. I'm assuming via cPanel, but I mave a pretty good track record or intentionally making wrong assumptions in order to elicit more information :).

    Would love to help more - but I'm sure that I have just demonstrated the importance of having more information.

    Cheers
    RodG
    I shoulp have said that the file named curreyupdate_openexchangerates.php is a plugin file. I have tried Currency Update using the same formate as in my previous post and I get the same results. I had my server upgraded to a deicated server last friday and since that upgrade I have had nothing but problem with my store. I spent 7months already uploading my good and still got a long way to go.
    Last edited by LittleAngell52; 28 Jun 2016 at 09:10 AM.

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Cron Jobs Help Need

    Quote Originally Posted by LittleAngell52 View Post
    I shoulp have said that the file named curreyupdate_openexchangerates.php is a plugin file. I have tried Currency Update using the same formate as in my previous post and I get the same results. I had my server upgraded to a deicated server last friday and since that upgrade I have had nothing but problem with my store. I spent 7months already uploading my good and still got a long way to go.
    Which version of Zen Cart are you using?

    As an aside, posting everything in bold letters is frowned upon on this forum.

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Cron Jobs Help Need

    Quote Originally Posted by LittleAngell52 View Post
    I shoulp have said that the file named curreyupdate_openexchangerates.php is a plugin file.

    Yes, that would have been some help - even better would have been a link to where you found this plugin so that I didn't have to go searching for it. (no good giving it now - I already found it via Google)

    This module isn't designed to be run as a CRON job, so that's what your problem is.

    Quote Originally Posted by LittleAngell52 View Post
    I have tried Currency Update using the same formate as in my previous post
    Too vague. But if you are really are referring to currency_update.php then as per my prev post, this needs to be configured, and it doesn't reside in the same place as the "curreyupdate_openexchangerates.php" <sic> file.

    I have no idea what you mean by 'same formate'.

    You didn't answer the question as to how or where you are setting up the cronjob.

    Quote Originally Posted by LittleAngell52 View Post
    I had my server upgraded to a deicated server last friday and since that upgrade I have had nothing but problem with my store.
    Too unspecific - this may or may not have something to do with the cron/currency issue. Who knows <shrug>

    Quote Originally Posted by LittleAngell52 View Post
    I spent 7months already uploading my good and still got a long way to go.
    We are here to help - really we are - but you really do need to give us something concrete to work with. - and preferably, one problem at a time.

    The best I can determine at the moment is that you are trying to run a cronjob on a file that isn't designed to be run this way.

    I wish I could help more, really I do - I didn't search for, download and read the instructions for this module, or inspect the contents and locations of the other files discussed (so far) to give you non answers - I could have given the same almost lack of information by guesswork (and saved 15-20minutes of my time).

    Help us and we can help you. It is as simple as that,

    Cheers
    RodG

  6. #6
    Join Date
    Jan 2016
    Location
    Merstham Surrey United Kingdom
    Posts
    102
    Plugin Contributions
    0

    Default Re: Cron Jobs Help Need

    I have found out that my hosting provider is having issues and I personally think its down to that as I had it all working till i got them to add a SSL Certficate last Friday. I am in the process of moving my site over to a new hosting provider. I can't even do a backup of my site.

 

 

Similar Threads

  1. v154 Any good advice on adding PHP Cron Jobs?
    By SpaceMonkey in forum General Questions
    Replies: 19
    Last Post: 4 Dec 2015, 12:30 AM
  2. EasyPopulate Cron Jobs
    By darkmarauder in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 23 Feb 2011, 05:40 PM
  3. Cron Jobs redirecting to login
    By Frano in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 29 Nov 2009, 12:51 PM
  4. A Question about Cron Jobs
    By LissaE in forum General Questions
    Replies: 0
    Last Post: 30 Jul 2009, 12:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg