How to update data in the database?

Good afternoon colleagues. As for the crown update records in the database?
There is a site on modx. Called base velosite it has a table shopkeeper3_config in it:
5b001e3f3c2f3356480209.png
And I'm interested in currency_rate: [{"value":"1","label":"RUB","id":1},{"label":"euro","value":"90","id":2}]
I would like to update the value of the euro.
Created php file:
define('MODX_API_MODE', true);
require_once($_SERVER['DOCUMENT_ROOT'].'/index.php');

$modx->getService('error','error.modError');
$modx->setLogLevel(modX::LOG_LEVEL_INFO);
$modx->setLogTarget(XPDO_CLI_MODE ? 'ECHO' : 'HTML');

And then?=)
June 5th 19 at 21:01
1 answer
June 5th 19 at 21:03
And then you open the search engine and write something like "how to run a php script via cron"

Find more questions by tags PHP