nicolafarina
Well you have two options for automatic email polling:
- Cron Job | Scheduled Task
- Auto-cron
You probably have both options enabled (which is not recommended - it should be either-or situation) which is why it's fetching on a delay. The Auto-cron needs Agents logged in and doing activities. With cron jobs/scheduled tasks it does not require anyone to be logged in and will even run throughout the night, etc.
So I would go to Admin Panel > Emails > Settings, disable Fetch on auto-cron
, and Save Changes. Then I would update the PHP version in the cron job. Then you can set your Default Log Level to DEBUG, save changes, wait for cron to execute, and check your Admin Panel > Dashboard > System Logs for Cron job entries that state the cron job executed. If you get these entries then all is good.
Cheers.