So my solution is to run a PERL script that loads the URL to the CGI Script every hour via CRON. This is the code I have now that is not working:
#!/usr/local/bin/perl
alarm (300);
$url = "http://[MySITE].com/file.cfm?RequestTimeout=300";
print "Location: $url\n\n";
exit;
Does the Location tag not work because a web browser is not calling the script? I'm sure there is a very simple solution. I just have not found it. Thanks for any help.
Does the Location tag not work because a web browser is not calling the script?
Yep. The Location: header simply sends a redirect header to the browser. Since no browser is involved (just a cron job), the Location: header doesn't do anything besides waste CPU cycles.
I'd recommend using LWP to call the script, like this:
#!/usr/local/bin/perl
alarm (300);
$url = "http://[MySITE].com/file.cfm?RequestTimeout=300";
use LWP::Simple;
$foo = get $url;
exit;