cancel
Showing results for 
Search instead for 
Did you mean: 

cron runs OK but doesn't update currencies

cron runs OK but doesn't update currencies

My cron looks like this:

 

#!/bin/bash

../../bin/magento cron:run
php ../../update/cron.php
../../bin/magento setup:cron:runroot

It runs fine daily and from the CLI manually. I've set up the backend to update currencies from the Yahoo service, and when I do this manually it works, so I know Yahoo is OK. The problem is the cron job doesn't update the currencies even when I run it manually.

 

What have I missed please?

 

2 REPLIES

Re: cron runs OK but doesn't update currencies

@bdamage

 

Check cron log in var/log and see if it can provide any more information? Also make sure that cron.php path is write. 

Magento Certified Solution Specialist | Lead Magento developer
If this response was helpful to you, consider giving kudos to this post

Re: cron runs OK but doesn't update currencies

Thanks, but as I said the currencies aren't even updated when I run it from the command line manually, and there are no errors then. It just looks like there is something missing between me setting the auto currency update in the back end and the actual running on the task.