I’m trying to setup a simple cron job via Siteworx and cant’ get things to work the way I need them to. We’re running an Interworx Cluster with 2 nodes and the cluster manager.
The actual cron is simple… wget http://www.[domain].com/script.php . From what I can tell, the cluster manager ( which I understand handles the crons entered in Siteworx ), isn’t able to properly resolve www.[domain].com and the cron just times out.
I’ve been told that I can use wget http://[cluster manager ip]/~[account name]/script.php which would work in most cases but not in this one. The cron that I need to run depends on the host name being www.[domain].com and not the ip for licensing reasons.
So, I somehow need to get wget http://www.[domain].com/script.php to work properly. I’m hung up on the thought that this seems to be a very simple task and I’m sure someone has to have come across this before and hopefully found a solution. I’m hoping that either I’m missing something or that there’s a simple solution out there.