Well,
If you server is not able to run php as cgi (this is the reason for you not use PHP in your scheduled scripts, correct?) you may use perl scripts to execute the php script every time you scheduled the perl script.
It's a good trick or it a dumb trick? I don't know but I use it: (because i have the some problem 😛)
#!/usr/bin/perl
use LWP::UserAgent;
use CGI::Carp qw(fatalsToBrowser);
use CGI qw/:standard/;
$ua = new LWP::UserAgent;
$ua->agent("$ENV{'HTTP_USER_AGENT'}");
print "Content-type: text/html \n\n";
&CallPHPScriptOne;
sub CallPHPScriptOne{
$url = "http://www.myserver.com.br/weekly/every_friday.php";
$req = new HTTP::Request 'GET' => $url;
$res = $ua->request($req);
if ($res->is_success) {
print "Succeed";
}
}
Now you'll use the perl to call php scripts in http requests every time you schedule it.
Note you need some Perl packages describes at top of script.
Nando