When is this code run? Is it run on every page load and does it look at every user?
Is this field also a user field or is it somewhere else? Shouldn’t it also tell acf what user to get the value from?
$gettoniRimanenti = (int) get_field('gettoni, 'user_5');
This would normally be something you’d need to set up in a cron task and you would need to read through every user and check each one.