Dear drupal webmaster newbies, this is for you!
Now it’s possible to run cron.php regularily, without any access to the server or without any knowledge about servers and crontab!
Just put these simple PHP lines in a block of your Drupal site, better if mostly present, or create a new block with them:
<?php
$tmstmp=mktime();
$last=file_get_contents("lastcron.txt");
if(($tmstmp-$last)>(60*60*6))
{
$pntr=fopen('lastcron.txt', 'w');
if(fwrite($pntr, $tmstmp))
{
mail ("dest","cron OK","OK");
include ("cron.php");
}
else
{