Under Tools > IP Addresses - associated the Public IP to local internal IP then configure Plesk DNS for the website. This will allow websites to resolve internally without having to use /etc/hosts file. Your Scheduled Task - Fetch as URL or curl www.domain.com to resolve and execute.
Note that...