When you write your script and save it, it will not automatically run.
You must load the file first.
After loading the file the cronjob will continue running automatically.
<script type="text/javascript"> // Cron Timer (Set run timer) setTimeout(function() { location.reload(); }, 25000 /* 25 seconds */ ); </script> <?php // Call to Method csv_dump_and_send(); ?>