Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2012

    Question Cron job for update currency?

    I'd like to set a cron job to run every night to update the currency settings.

    It's easy enough to figure out the script action from the URL:

    (URL)/admin/adminindex.php?action=settings&sub=rates&do=update rates

    But not so easy for me to figure out how to execute this as root or as the site user from a command line. A simple call to the URL won't do because that requires an administrative login.

    Has anyone done this? It seems so logical that I'm surprised it isn't already an option within the program - it seems logical that the rates need to be updated regularly and odd that it requires manual action each time.

  2. #2
    Join Date
    Aug 2006
    San Diego, CA
    Currently there is no easy way to do this because of the required login. We will get this added to the tracker though as a possible feature.
    Chris Talavera
    Turnkey Web Tools, Inc.

  3. #3
    Join Date
    Feb 2012
    Thanks -- if it can't be added as a cron job, I have another suggestion -- maybe the "update currency" feature could be set to be automatically activated on administrative login, or set up as a prominent feature, such as an optional box to check on the login screen, or a prominent button on the admin screen after login. The problem we have is that because the feature is buried in the settings menu, none of our staff who processes orders remembers to do this.

    For now I have created a link in my browser bar to the /admin/adminindex.php?action=settings&sub=rates&do=update rates URL. While I still prefer that the task be automated, I have found that this works better for me -- I still have to log in, but as my browser also pre-fills the login information, this does act as a reminder for me and also speeds up the process. (I click the link, log in -- and then immediately see the update confirmation message).

Similar Threads

  1. Cron Jobs - What's the Difference?
    By hawkman in forum Troubleshooting and Problems
    Replies: 1
    Last Post: 02-14-2014, 05:01 PM
  2. Cron Job to automate Google Base update.
    By dmm34 in forum Customizations, Mods & Plugins
    Replies: 0
    Last Post: 02-13-2014, 03:43 AM
  3. Cron Jobs
    By forte in forum Troubleshooting and Problems
    Replies: 1
    Last Post: 01-23-2014, 04:34 AM
  4. SS4.x - Getting currency rates?
    By DianeV in forum Troubleshooting and Problems
    Replies: 4
    Last Post: 07-14-2008, 12:45 AM
  5. currency conversion?
    By pearls in forum Installation Questions
    Replies: 0
    Last Post: 04-01-2008, 08:16 AM

Tags for this Thread


Posting Permissions

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